LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs > am_it_wild
User Name
Password

Notices

Rate this Entry

setting grub menu password

Posted 03-27-2009 at 03:13 PM by am_it_wild

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
Posted in Uncategorized
Views 795 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement

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