Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 778
  • 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

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

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