On 6/30/11 12:42 PM, Anton Aylward wrote:
LLLActive@GMX.Net said the following on 06/30/2011 06:32 AM:
I used to be able to delete the password in the /etc/passwd file, and reboot without a password. Then I could set a new password. You had to get to the machine and boot by CD in a recovery mode, hang on the root FS of the wanted system and change the password entry for root. Later this method was blocked with the shadow file. I'm not sure when that was, but I know of no other method to do that any more. It will also interest me how to do it now. <irony> Its a shame there isn't a "-r FSroot" for "passwd" so that you can boot off the liveCD, mount the hard disks rootFS at /mnt/disk and then
passwd -r /mnt/disk --stdin root </irony>
Al, how about editing the shadow file? Use 'man shadow' to find out what field to edit.
I am sure I tried that just after the change, and could not get it to work by changing both files. I have not done it lately, but good to know it works again by editing the files. :-) Al -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org