George B. Winston IV wrote:
>
> Sorry for the lame question, but I think my system was hacked and all
> of the passwords changed. I can't even log-in as root.
>
> Is it possible to boot in single user mode and change root's
> password? If so, How do you boot in single user mode and change
> root's password.
That seems to depend on the Distrib. you installed. In general every
boot-prompt-option, that lilo and the kernel don't understand, is passed
to the Process with Id 1 (Init). And Init takes the runlevel to start
with, as an argument. So on Redhat 4 (SysV-like-Init) it's possible to
start in single-user-mode with:
lilo>linux 1
Besides this is a major security hole, as it is much easier and faster
to hack a linux-box via this trick, than by using an boot-/root-disk.
Greetings, Daniel
---Daniel Riek * riek@cs.bonn.edu * * PGP-Key via finger *
++++ stop the execution of Mumia Abu-Jamal ++++ ++++ if you agree copy these 3 sentences in your own sig ++++ ++++ more info: http://www.xs4all.nl/~tank/spg-l/sigaction.html ++++