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

Re: Root Password recovery



On Tue, Feb 03, 2004 at 03:00:05PM +0100, Andreas Janssen wrote:
> Hello
> 
> Quartenoud Francois (<Francois.Quartenoud@SWISSTXT.CH>) wrote:
> 
> > Hi, I have change the root password on a Debian 3.0. I make a mistake
> > during the typing, I cannot retrieve the password. I try to reboot 
> > with typing "linux single" on Lilo, but the system ask the root 
> > password. I try to type "linux init=/bin/sh" on lilo without success.
> 
> What did not work? Did you maybe forget that, if you use linux
> init=/bin/sh, your root partition is mounted read-only? Try
> 
> linux init=/bin/sh
> mount / -o remount,rw
> passwd
> reboot
> 


  It could be that the OP uses an initrd. As far as I know, initrd
stands in the way of init=/bin/sh.

-- 
"If you have an apple and I have  an apple and we  exchange apples then
you and I will still each have  one apple. But  if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas." -- George Bernard Shaw     (sent by  shaulk @ actcom . net . il)



Reply to: