Solved

Adding password to GRUB bootloader?

Posted on 2004-04-28
5
759 Views
Last Modified: 2013-12-06
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
Comment
Question by:sharma_deepak83
  • 2
  • 2
5 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10946317
Hi sharma_deepak83,

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

Sunnycoder
0
 

Author Comment

by:sharma_deepak83
ID: 10946564
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
 
LVL 2

Accepted Solution

by:
sam_sunder earned 125 total points
ID: 10947396
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
 

Author Comment

by:sharma_deepak83
ID: 10952395
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
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10956361
>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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now