Put the following two lines in the global section of lilo.conf (the global
section is everything above the "image" line).

password=*****   (insert a password up to 8 characters)
restricted


the restricted line means that the password is asked for only if the user
attempts a boot option e.g.

boot -1  (for single user boot)

Having done the above and saved the file you should change the permissions
to 0600 so the file is only readable by root, as the password is stored in
plain text.

e.g.

chmod 0600 /etc/lilo.conf

then enable the changes by running

/sbin/lilo

Come back to me if you have any problems.

Regards Sarah Whitley

Senior Consultant ISS


> -----Original Message-----
> From: kdeepak [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 07, 2000 5:34 PM
> To: [EMAIL PROTECTED]
> Subject: how to put a password for Linux single
> 
> 
> 
> Hi all,
>        How put a password for Linux single in lilo .
> 
> regards
> k.deepak
> 
> --------------------------------------------------------------
> -----------------
> K.DEEPAK
> System Administrator
> AdventNet Development Centre (India) Pvt Ltd
> "Kaashyap Enclave" 
> 13-A Velachery Main Road
> Velachery
> Chennai - 600042.
> India.
> Phone : +91-44-2432414,2432748,2432749
> Email : [EMAIL PROTECTED]
> --------------------------------------------------------------
> -----------------
> 
> On Wed, 7 Jun 2000, Bret Hughes wrote:
> 
> > John Aldrich wrote:
> > 
> > > Put a password in the LILO so that if someone tries to do a
> > > Linux single they still have to know the root password.
> > >         John
> > >
> > >
> > 
> > Don't forget to change it if you change the root password 
> or the guy you were
> > trying to keep out still has an easy way in.
> > 
> > Bret
> > 
> > 
> > 
> > -- 
> > To unsubscribe: mail [EMAIL PROTECTED] with 
> "unsubscribe"
> > as the Subject.
> > 
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to