• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 781
  • Last Modified:

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...
0
sharma_deepak83
Asked:
sharma_deepak83
  • 2
  • 2
1 Solution
 
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
 
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
 
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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now