LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 02-22-2002, 09:17 AM   #1
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
Unhappy set password to boot lilo ??


Hello Everybody,

I have given my lilo.conf file below.i wanted to give a password when lilo is booting.what should i do ,and it also not boot in "single" mode.

Hitesh

------------------------------
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=100
message=/boot/message
linear
default=StgLinux

image=/boot/vmlinuz-2.2.16-22
label=StgLinux
root=/dev/hda2
read-only
restricted
password=stglinux

other=/dev/hda1
label=Windows 2000
------------------------------------
 
Old 02-22-2002, 09:34 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
that will only ask for a password when you DO specify single or such like, i.e. override system defaults. if you want a complete password, i'd recommend using a bios password as well. rememebr to run "lilo" after you edit the conf file of course...
 
Old 02-23-2002, 04:16 AM   #3
karunesh
Member
 
Registered: Jan 2002
Location: India
Distribution: CentOS/Mandriva
Posts: 126

Rep: Reputation: 15
Only Single User Mode

This will ask for password when you are trying fr Single User Mode through "linux single" or -S.It will not help you for everytime asking for password when you are booting in normal mode.

 
Old 02-24-2002, 11:22 AM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Re: Only Single User Mode

Quote:
Originally posted by karunesh
This will ask for password when you are trying fr Single User Mode through "linux single" or -S.It will not help you for everytime asking for password when you are booting in normal mode.

no, everytime after he selects linux, it will ask for a password in any mode.

-trickykid
 
Old 02-24-2002, 12:22 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
Re: Re: Only Single User Mode

Quote:
Originally posted by trickykid
no, everytime after he selects linux, it will ask for a password in any mode.

-trickykid
man lilo.conf:

restricted
A password is only required to boot the image if parameters are
specified on the command line (e.g. 'single').
 
Old 02-24-2002, 12:41 PM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
actually this isn't totally secure though when you place a password in your lilo.conf. though when using this option, its good to have the file so its only readable by root. but i guess the man pages are stating its only really necessary to have password to prevent users to booting into single mode so they can't gain root access on the system, cause if you use a password, it will prompt for the password in any mode you select at startup.

Last edited by trickykid; 02-24-2002 at 12:43 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Password protecting LILO boot menu items? Surfrider Linux - Software 1 11-07-2005 02:12 AM
Change Colors and set password on Lilo thenowherekid Linux - Newbie 3 08-26-2005 02:22 AM
unable to install LILO nor set root password aquilolumen Slackware - Installation 10 07-07-2005 01:15 PM
LILO - Trying to set up Triple Boot system davecs Linux - Software 4 11-07-2003 05:09 PM
set password to boot lilo ? hitesh_linux Linux - General 2 02-22-2002 09:34 AM


All times are GMT -5. The time now is 10:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration