Re: how to change root passwd (if forgotten)
On Thu, 11 Aug 2011 15:48:02 -0600
Aaron Toponce <aaron.toponce@gmail.com> wrote:
>
> sulogin is easy enough to bypass.
>
> * Boot Live CD
> * Mount /
> * Edit /etc/inittab
> * Comment out si::sysinit:/etc/init.d/rcS
> * Reboot into single user mode
>
> Much easer than chroots, or any of the other previous suggestion, IMO.
>
Easier than:
* Add init=/bin/bash to the end of kernel in grub
* mount -o remount,rw /
* passwd
* sync & reboot
? Most people I know would rather blindly type commands than edit a
file, and I for one lose my Live CDs a lot :D
--
rbmj
Reply to: