Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
How to set grub menu password so that no one can change your password through recovery mode option in an ubuntu.it is very important for security reasons. i am going to show you how it can be done.The steps are given below to set grub menu password in an ubuntu.
1.first gain the root privilages by typing
$sudo su
you will be asked for password give it
2.By default root doesn't have a password ,so first set the root password by going to the termina
# passwd
you will be asked for a password two times
now you have set the root password.
3.go to the file called shadow by typing
~#cd /etc && nano shadow
4.copy the root password from there
the second field something like
root:$$45678888999$$$:kfjf
5.go to the menu.lst file by typing
~#cd /boot/grub/ && nano menu.lst
6.now find the line
##password --m5 passwd
uncomment that line and paste root password in the place of passwd
7.find the line #password topsecret
uncomment that also
8.now you are done next time when you go into the recovery mode you will be asked for password
9.now you have saved your computer of being getting hacked
10.ok thanks bye-bye
If someone has physical access, that won't be sufficient, they'll just use the install media in rescue mode.
To be more secure you need to disable the cd drive at least.
Maybe add a bios passwd. If they can take the disk out, you need encryption....
Distribution: Mostly Linux, but we have quite a few using Windows 2003 and Free BSD
Posts: 32
Rep:
If you give someone physical access to your server/computer then you are just asking for trouble if you are trying to be security conscious and you don't trust the people around your computer. If you give me physical access to your computer, there is no type of software or encryption device that can keep me away from your data! Simple! If it can be made, it can be cracked! The first rule of computer security is common sense. If you cannot trust your environment, pick another environment! Good luck!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.