[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] Cannot login after modification shadow file with guestmount



Hi.


I have a VM with CentOs6.2 on KVM.   I mount an image of the VM when it's not working with guestmount:

root diehard:~# guestmount -a named-centos.img -i tmp

vi /etc/shadow

insert comment line into the file (esc yy p 0 i # esc :wq!), save changes, unmount the image, turn on the VM, and I cannot login.

I cannot login even if I recover the shadow file.

root diehard:~# guestmount --version
guestmount 1.16.15


--


Яицков Даниил Сергеевич
Daneel S. Yaitskov


skype: daneel_s_yaitskov
google talks:  rtfm rtfm rtfm gmail com
email: dy hivext net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]