Thread: Linux Password
View Single Post
Old 29-09-2005, 05:22 PM   #2
Data
retired
 
Data's Avatar


 
Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
Default

If you have a boot loader
type this:

kernel init=/usr/bin/passwd

or kernel init=/bin/sh

(at the prompt append init=... to it( kernel could be linux as well).).
there is some documentation on the web which deals with that.
I think it's some howto.

edit or get bootable distribution and mount your root filesystem
and the chroot to it and set a passwd for the root.
__________________
Flowing with the stream of life
Data is offline                         Send a private message to Data
Reply With Quote