Well, I set a password for grub on boot but... I've forgotten the password or typed it wrong. Is there any way possible to crack/remove/reset this password?
Crack/Reset grub password
Started by Off, Mar 23 2008 07:49 AM
14 replies to this topic
#1
Posted 23 March 2008 - 07:49 AM
|
|
|
#2
Posted 23 March 2008 - 10:34 AM
How did you set the password? I never used one but do you enter the password in the menu.lst?
If yes that would be easy to crack, but I'm not sure how to set a password.
If yes that would be easy to crack, but I'm not sure how to set a password.
#3
Posted 24 March 2008 - 04:55 AM
Go into the grub shell and run md5crypt
Then copy this line to your grub.conf:
GNU GRUB version 0.94 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> md5crypt
Password: ******
Encrypted: $2AdFOPLKkL9AdfSTUIoPArM/
Then copy this line to your grub.conf:
password --md5 $2AdFOPLKkL9AdfSTUIoPArM/
#4
Posted 24 March 2008 - 06:51 AM
Those steps are to add a password?
#5
Posted 24 March 2008 - 12:06 PM
Yes, to the grub boot loader.
#6
Posted 24 March 2008 - 02:36 PM
Can't you boot from a live CD, access the hard disk access grub.conf and delete the password?
#7
Guest_Jordan_*
Posted 24 March 2008 - 04:39 PM
Guest_Jordan_*
What TotalPenguin said is the only way I know how to remove that password.
#8
Posted 25 March 2008 - 04:30 AM
Well after thinking about what I said... wow, doesn't seem like a safe way to protect yourself using grub...
#9
Posted 25 March 2008 - 06:51 AM
Is this all the security that Linux has to offer... where is the most secure OS? This for sure is not secure!!
#10
Posted 08 April 2008 - 08:55 AM
That is pretty interesting material to read. I am definitely cutting and pasting that info to my files!
#11
Posted 24 June 2008 - 05:09 AM
Weird, is it that simple to hack grub? I think there might be something wrong here, it can't be that simple.
#12
Posted 24 June 2008 - 05:12 AM
Generally speaking, if a hacker has physical access to your computer/server there is nothing that can really stop him/her.


Sign In
Create Account


Back to top









