On Wed, May 06, 1998 at 02:28:38PM -0500, Brian wrote:
> I know that by default, anyone can reboot a Linux box, and type linux 1 at
> the lilo prompt in order to get into single user mode.  I understand the
> benefits of a feature such as this (forgotten root's password), but I need
> to disable this.  I can't allow people to get a root shell simply by
> powering down a machine, and typing linux 1 when it boots up.  
> 
> How does one go about disabling this (if at all possible)?

        I've never done it, but in theory you could remove it from /etc/inittab,
which would make it so that that runlevel no longer exists.

        In theory. :)  Again, I've never done it, so if it doesn't work or
breaks the system, ees not my fault ;P

        OTOH, that's the reason most *nix boxes are in a modestly secure 
location.  One easy way to solve that problem is to remove the keyboard
and monitor from the server, so that you cannot interact with the machine
from it's physical location without a bit of work.  

        Good luck... let me know if the /etc/inittab thing works...

                                                Adam

-- 
Adam Jacob                  E-Mail: <[EMAIL PROTECTED]>
Systems Administrator       WWW: http://www.cybertrails.com
Cyber Trails                "Unix is a four letter word...
602-906-1752                 VI is a two letter abbreviation"


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to