[Libguestfs] Cannot login after modification shadow file with guestmount
Daneel Yaitskov
dy at hivext.net
Fri Apr 20 13:48:06 UTC 2012
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 at 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 at diehard:~# guestmount --version
guestmount 1.16.15
--
Яицков Даниил Сергеевич
Daneel S. Yaitskov
skype: daneel_s_yaitskov
google talks: rtfm.rtfm.rtfm at gmail.com
email: dy at hivext.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20120420/1605f3c5/attachment.htm>
More information about the Libguestfs
mailing list