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

Re: Root password



* Jens Ritter said:
> Seth R Arnold <sarnold@willamette.edu> writes:
> 
> > I haven't tried this myself... but, I seem to recall that if you pass linux
> > "single" on the boot line (at the lilo prompt, etc..) it will boot into a
> > single-user mode; within that you should be able to "passwd root".
> 
> This will ask for a password, too. 
> You have to reboot using a floppy and edit /etc/passwd manually. 
No, you don't have to do that. It's enough if you start linux with the
following command line:

single init=/path/to/your/shell

marek

Attachment: pgp9BZRq10SvW.pgp
Description: PGP signature


Reply to: