You can protect the single user mode by adding the following line to
the /etc/inittab file after the entry for si::sysinit...:
~~:S:wait:/sbin/sulogin

By this way, you don't have to hardcode the password in /etc/lilo.conf
to protect the single user mode.

Werner


On Mon, 26 Mar 2001, Wolfgang Pfeiffer wrote:

> Just read the thread on how to create a new password for root (entering
> single user mode, writing "linux single" at the lilo prompt then typing
> "passwd" etc. ...
>
> How can I prevent this, because this possibility (as convenient it may be
> for a poor admin having lost his password)  basically leaves my system
> vulnerable for every creep knowing the trick, too ...
>
> Please tell me someone I'm wrong ...
>
> Regards.
> Wolfgang.
>
>
>
>
>
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to