Hello, Rodrigo!

On Thu, 26 Aug 1999, Rodrigo Ormonde wrote:

>>A more faster way will be reboot (Ctrl-Alt-Del) the machine.
>>At the boot prompt, type linux init=/bin/sh
>>LILO: linux init=/bin/sh
>>You will login without any password.
>>Then, change the password with 'passwd' command.
>  Is there any way to block this ? I mean, to ask for root password even
>when starting Linux in single user mode ?

for this particular case, you can teach all shells to not to run if
getpid()==1, or ask root password before running. And don't place 
home directories and /tmp on root filesystem, or all be lost :)

You can also force kernel to ignore 'init=' option.

Bye.
--
A husband is what is left of the lover after the nerve has been extracted.
                -- Helen Rowland

--
    With best of best regards, Pawel S. Veselov (aka Black Angel)
       Web page : http://i.am/BlackAngel | ICQ UIN : 5252265
                   Internet e-mail : [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to