Skip to main content

Timeline for String concatenate in perl?

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Jul 21, 2015 at 8:00 comment added Qian Chen passwd -R /path/to/vm/root/on/host root doesn't work, the error message is: passwd: Cannot determine your user name. I checked both /etc/password and /etc/shadow, the entries for root both exist. I tried passwd -R / root to change the host root password, and it works.
Jul 20, 2015 at 5:36 comment added michas Have a look at man passwd. Just add the mount point of your VM disk and passwd should use the shadow file there.
Jul 18, 2015 at 12:43 comment added Qian Chen @michas can you make it a bit more clear how to use passwd -R? Thanks.
Jul 18, 2015 at 12:33 review Close votes
Jul 18, 2015 at 14:55
Jul 18, 2015 at 11:56 comment added michas Maybe passwd -R might be a better solution.
Jul 18, 2015 at 11:52 vote accept Qian Chen
Jul 18, 2015 at 11:47 comment added Qian Chen I'm trying to mount the virtual machine's disk to the host and reset the virtual machine's root password.
Jul 18, 2015 at 11:41 comment added michas I'm not sure if modifying /etc/shadows with perl is really a good idea...
Jul 18, 2015 at 11:32 answer added michas timeline score: 2
Jul 18, 2015 at 10:57 history asked Qian Chen CC BY-SA 3.0