Adding password to GRUB bootloader?

I have fedora core 1 running 3 kernels 2.4.22-18 , 2.6.0, 2.6.3. I have installed it on a ext3 filesystem. Everything was going well untill I discovered that my brother was using linux 1 command and breaking my root password every day. So I decided that to have a GRUB password. So what I want is to enable the GRUB password without reinstalling my system. But I didn't find a way to do this. Please help me...
sharma_deepak83Asked:
Who is Participating?
 
sam_sunderCommented:
hey sharma,

doing as sunny told will help you. if you have any problem refer this link.

http://www.linux.com/howtos/Remote-Serial-Console-HOWTO/configure-boot-loader-grub.shtml


regards,

sam
0
 
sunnycoderCommented:
Hi sharma_deepak83,

login as root, run "grub"
on the grub command prompt give "password"

Sunnycoder
0
 
sharma_deepak83Author Commented:
thanks i will try it and tell you what the output is. Let me tell u one thing u people at experts-exchange are really fast. Thank you for ur comment.
0
 
sharma_deepak83Author Commented:
Sunny, it doesn't works. It gives me "Must be authenticated" when i am logging in as root. I thought of the idea that is presented by sam but I thought it was too risky to play around with the system files.
Can u tell me how can I decrypt this hashes from md5crypt command if accidently i just forgot the password.
Thanks for ur comments.
0
 
sunnycoderCommented:
>It gives me "Must be authenticated"
At what step ?

>Can u tell me how can I decrypt this hashes from md5crypt command
Practically Not possible (not exactly but can be easily abused so I am not going to discuss on these lines)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.