Re: how to change root passwd (if forgotten)
On Thu, 11 Aug 2011 07:14:23 +0000 (GMT)
Francois Cerbelle <francois@cerbelle.net> wrote:
> Le Wed, 10 Aug 2011 18:10:02 +0200, Thierry Chatelet a écrit :
> > On Wednesday 10 August 2011 17:53:26 Umarzuki Mochlis wrote:
> >> if i'm not mistaken you can just go to single user mode on centos
> >> by appending "1" or "single" (without quotes) on boot parameter,
> >> no need for any live cd
> >>
> > Not with debian, but lots of trail if you google it. Thierry
>
> But "init=/sbin/bash" should work, then mount, modify, dont forget to
> umount everything and reboot
>
You mean init=/bin/bash right?
and you'll probably have to mount -o remount,rw / before you passwd.
--
rbmj
Reply to: