Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux Security

Linux Security Make your Linux box more secure - Learn How

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-23-2008, 04:49 PM
Off Off is offline
Member
 
Join Date: Feb 2008
Posts: 60
Off is on a distinguished road
Default Crack/Reset grub password

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?
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 03-23-2008, 07:34 PM
TotalPenguin's Avatar
Administrator
 
Join Date: May 2007
Posts: 470
TotalPenguin will become famous soon enoughTotalPenguin will become famous soon enough
Default

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.
__________________
Business Directory
Technology Blog
Reply With Quote
  #3 (permalink)  
Old 03-24-2008, 01:55 PM
Off Off is offline
Member
 
Join Date: Feb 2008
Posts: 60
Off is on a distinguished road
Default

Go into the grub shell and run md5crypt

Code:
    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:

Code:
password --md5 $2AdFOPLKkL9AdfSTUIoPArM/
Reply With Quote
  #4 (permalink)  
Old 03-24-2008, 03:51 PM
TotalPenguin's Avatar
Administrator
 
Join Date: May 2007
Posts: 470
TotalPenguin will become famous soon enoughTotalPenguin will become famous soon enough
Default

Those steps are to add a password?
__________________
Business Directory
Technology Blog
Reply With Quote
  #5 (permalink)  
Old 03-24-2008, 09:06 PM
Off Off is offline
Member
 
Join Date: Feb 2008
Posts: 60
Off is on a distinguished road
Default

Yes, to the grub boot loader.
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 03-24-2008, 11:36 PM
TotalPenguin's Avatar
Administrator
 
Join Date: May 2007
Posts: 470
TotalPenguin will become famous soon enoughTotalPenguin will become famous soon enough
Default

Can't you boot from a live CD, access the hard disk access grub.conf and delete the password?
__________________
Business Directory
Technology Blog
Reply With Quote
  #7 (permalink)  
Old 03-25-2008, 01:39 AM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 533
Jordan is on a distinguished road
Default

What TotalPenguin said is the only way I know how to remove that password.
Reply With Quote
  #8 (permalink)  
Old 03-25-2008, 01:30 PM
TotalPenguin's Avatar
Administrator
 
Join Date: May 2007
Posts: 470
TotalPenguin will become famous soon enoughTotalPenguin will become famous soon enough
Default

Well after thinking about what I said... wow, doesn't seem like a safe way to protect yourself using grub...
__________________
Business Directory
Technology Blog
Reply With Quote
  #9 (permalink)  
Old 03-25-2008, 03:51 PM
Member
 
Join Date: Jan 2008
Posts: 78
LinuxBomber is on a distinguished road
Default

Is this all the security that Linux has to offer... where is the most secure OS? This for sure is not secure!!
Reply With Quote
  #10 (permalink)  
Old 04-08-2008, 05:55 PM
MHJ MHJ is offline
Junior Member
 
Join Date: Apr 2008
Posts: 15
MHJ is on a distinguished road
Default

That is pretty interesting material to read. I am definitely cutting and pasting that info to my files!
Reply With Quote

Sponsored Links
Reply

Tags
crack, password, reset

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enforce Password Change Wanch Linux Security 6 03-23-2008 03:52 AM
MySQL Root Password Prog Linux Applications 1 10-08-2007 08:38 PM
Linux coders crack Apple's iPod Touch kernel Linux News 0 09-18-2007 07:59 PM
Hello Grub Here Grub Introductions 4 01-06-2007 09:21 PM


All times are GMT. The time now is 01:40 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.