Hi all,
I am a newbie on the list.I have a query regard= ing logging into single user mode in Linux.The root password can be changed= by logging in into single user mode in linux.But I guess there surely must= be a way to prevent this, coz if that is not the case then anyone can get into a single user mode n change the root passwd n have access to the syste= m.I want to know wot is the way out to prevent a user from logging into sin= gle user mode n change the root passwd.
Regards,
Sneh.
=
[1] [a=]
References
On 7 Oct 2004 06:09:30 -0000, Sneh D my_linux@rediffmail.com wrote: <snip/>
syste m.I want to know wot is the way out to prevent a user from logging into sin gle user mode n change the root passwd.
You could enable the password in your favourite boot loader. That way getting into single user mode would require knowledge of a password.
Regards,
Sneh.
Cheers -g
hi
some of the options !!!
1. secure the machine physically !!! Keep the machine in a secured location where no on can access it..
2. do not attach cdrom or floppy drive ( thou not advisable)
3. set boot password !!
4. disable ctrl+alt+del from rebooting the system..
More input guys/gals !!!
regards narayan
I am a newbie on the list.I have a query regard= ing logging into single user mode in Linux.The root password can be changed= by logging
[[snip]] [[snip]]
===== Narayan Kejriwal (Team Leader) SoftwareWorkshop.Net
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Wed, 6 Oct 2004, Narayan Kejriwal wrote:
|hi | |some of the options !!! | |1. secure the machine physically !!! Keep the machine |in a secured location where no on can access it.. | |2. do not attach cdrom or floppy drive ( thou not |advisable) | |3. set boot password !! | |4. disable ctrl+alt+del from rebooting the system..
5. Keep a LILO/GRUB password
Cheers,
Zainul.
| |More input guys/gals !!! | |regards |narayan | |> I am a newbie on the list.I have a query regard= |> ing logging into |> single user mode in Linux.The root password can |> be changed= by logging | |[[snip]] [[snip]] | |===== |Narayan Kejriwal |(Team Leader) |SoftwareWorkshop.Net | |__________________________________________________ |Do You Yahoo!? |Tired of spam? Yahoo! Mail has the best spam protection around |http://mail.yahoo.com | |-- |http://mm.ilug-bom.org.in/mailman/listinfo/linuxers |
hi, I think single user mode does not work on Slackware . i mean it asks for password even after u log in as in single user mode
And btw I liked the IDEA of not having a CDROM or Floppy drive for security as anyone can mount the coresponding partion and play with /etc/passwd bye
On Thu, Oct 07, 2004 at 06:09:30AM -0000, Sneh D wrote:
have access to the syste= m.I want to know wot is the way out to prevent a user from logging into sin= gle user mode n change the root passwd.
Others have suggested ways, but as long as physical access isn't controlled, all bets are off.
Add this line just after the "sysinit" entry in /etc/inittab file : ~~:S:wait:/sbin/sulogin
On 7 Oct 2004 06:09:30 -0000, Sneh D my_linux@rediffmail.com wrote:
Hi all,
I am a newbie on the list.I have a query regard ing logging into single user mode in Linux.The root password can be changed by logging in into single user mode in linux.But I guess there surely must be a way to prevent this, coz if that is not the case then anyone can get into a single user mode n change the root passwd n have access to the syste m.I want to know wot is the way out to prevent a user from logging into sin gle user mode n change the root passwd.
Regards,
Sneh.
[1] [a]
References
On 7 Oct 2004 06:09:30 -0000, Sneh D my_linux@rediffmail.com wrote:
Hi all,
I am a newbie on the list.I have a query regard ing logging into single user mode in Linux.The root password can be changed by logging in into single user mode in linux.But I guess there surely must be a way to prevent this, coz if that is not the case then anyone can get into a single user mode n change the root passwd n have access to the syste m.I want to know wot is the way out to prevent a user from logging into sin gle user mode n change the root passwd.
I guess only RH gives root access directly. SuSE definately does not give direct access in single user mode. I guess debian also prompts for a password.
The solution for RH is boot loader password. For others you dont have to worry.
Hi all,
I am a newbie on the list.I have a query regard= ing logging into single user mode in Linux.The root password can be changed= by logging in into single user mode in linux.But I guess there surely must= be a way to prevent this, coz if that is not the case then anyone can get into a single user mode n change the root passwd n have access to the syste= m.I want to know wot is the way out to prevent a user from logging into sin= gle user mode n change the root passwd.
Regards,
Sneh.
You can do the following and restrict the single user mode in linux:
Open file /etc/lilo.conf (if you are using the lilo boot loader, if you are using grub then go to file /etc/grub.conf)
in that file add the following lines: restricted password="type your password here"
then save the file and run the command "lilo" , also do not forget to change the permissions of the file "lilo.conf" to 700!
This makes your system semi-secure but still someone could load a kernel in a floppy and access your system...(unless he has read this mail or knows about it :D )
regards, Sandeep