Hi, My Debian System asks for a password even in single mode... Your solutino would probably work on RH and variants.... Which is OK in this case, but in case somesone needs to know...
Joy On Apr 3, 2005 8:34 AM, Kev <[EMAIL PROTECTED]> wrote: > > > > > Ankit Jain wrote: > > > > > i have forgotten my root pasword. i had installed > > > redhat linux 9.0 kernel version 2.4 with grub loader. > > > if somebody can tell me how to change the password > > > without logging. > > > > first you have to boot the computer in single user mode, with single > user mode you dont need to root password. > > To get into single user mode from GRUB, highlight the linux operating system > you want to boot. > After the line is highlighted, press 'e'. 'e' will get you into the GRUB > editor. Next, highlight the line that begins with "kernel" and press 'e' > again. 'e' the second time will allow you to edit the "kernel" line. Add > the word "single" to the end of the line, "single" will tell the kernel > to boot into single user mode. After adding the word "single", press > "Enter" and then 'b' to boot the operating system. > > one you got in to the single user mode, type passwd and change the root > password. > > To leave single user mode, there are a number of possibilities, > you can always execute a "shutdown" or "reboot" command, or you can > simply type "exit". When you type "exit", you will leave single user > mode and the operating system will continue to boot normally. > > > Kev......... > - > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs > -- people always turn away, from the eyes of a stranger... Afraid to know what lies behind the stare....... --QueensRyche - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs