Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-22-2004, 11:20 AM
|
#1
|
LQ Newbie
Registered: Nov 2004
Location: Mexico
Distribution: FC, Gentoo
Posts: 3
Rep:
|
GRUB password
Who do I setup a password for GRUB, in order to keep the box from booting in single user mode by any dirty hand? It is a SuSE Pro 9.1
|
|
|
11-22-2004, 08:45 PM
|
#2
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
become root in the normal way "su -" and run grub.
give the command "md5crypt"
it will prompt you for a password, you will only be asked to enter it once, so make sure you enter it correctly.
it will then output an encrypted sting... this is your password in encrypted format.
open the grub config file /boot/grub/menu.conf with a text editor.
at the very top line, add the line "password=" directly followed by your encrypted password string.
for added securety, you should also set a bios password, and lock the bios to ONLY booting grub...
otherwise anyone could just boot a liveLinuxCD and change yourroot passwords.
but even with all this securetty, someone could just open up your case, and reset the BIOS jumpers.
|
|
|
11-23-2004, 08:33 AM
|
#3
|
LQ Newbie
Registered: Nov 2004
Location: Mexico
Distribution: FC, Gentoo
Posts: 3
Original Poster
Rep:
|
Thanks, although googling around I found the procedure, it is good to see my question answered. Again, thanks.
|
|
|
All times are GMT -5. The time now is 03:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|