[clug-talk] Reset root password SuSE 9.2

Jarrod Major jmajor at nucleus.com
Tue Sep 13 18:46:48 PDT 2005

> Aaron wrote:
> mount $ROOT_FS_DEVICE /mnt
> cd /mnt
> chroot .
> passwd
> exit
> $ROOT_FS_DEVICE will be /dev/hda1 or whatever partition the real / is
> on. once you're chroot'd into that fs, you're still root but all commands
> will happen using that filesystem (and binaries).
> hand editting /etc/passwd and /etc/shadow is unecessary and not the
> safest  thing to do.
> suse actually password protects single mode as well... you need to
> pass init=/bin/bash to the kernel to get it to drop you into a
> non-password protected shell at boot.

Hey Aaron's advice worked! Thanks Aaron! Funny about that mount step not being 
in any of the other directions I read, too bad, I could have fixed this much 
sooner. My server is now up-to-date and in production.
Jarrod Major
GPG Fingerprint: 4556 EFA8 EC69 7C54 EE33  C881 2C7C 0E10 2439 231E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/clug-talk_clug.ca/attachments/20050913/16b38d29/attachment.bin

More information about the clug-talk mailing list