[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to change root passwd (if forgotten)



>>>>> Francois Cerbelle <francois@cerbelle.net> writes:
>>>>> 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.

 > But "init=/sbin/bash" should work, then mount, modify, dont forget to
 > umount everything and reboot

	Instead of rebooting, one may exec the proper init(8) here,
	like:

# exec /sbin/init 

-- 
FSF associate member #7257


Reply to: