Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using Ubuntu 12.10. We all know that from the Restore option in the GRUB menu we can reset our lost password. We can also put password for GRUB to prevent other users ,to reset the password.

My question is that , is there any way we can break/reset the GRUB menu password , so that I can know protection of my PC.

Bottom-Line : How can we break/reset the GRUB menu password ?

Thank you.

share|improve this question
add comment

1 Answer

  1. Boot the system with an Ubuntu live USB or DVD and try to switch to rescue mode. In rescue mode you will be asked if similar steps should be followed, which need to be followed in the installation. Once you get the # prompt, type the following command:

    chmod /mnt/sysImage

  2. Edit the grub.conf file and remove the passwd line from the file. Save the file and exit.

  3. Once your machine reboots, you will be able to start your Ubuntu in the usual manner.
share|improve this answer
    
Thank you but what I have to do in the case of No Live Device & another Computer with me. –  raaz Apr 29 '13 at 13:30
    
@Jai You can try howtogeek.com/howto/linux/… . I can't say how good is this post currently. –  Radu Rădeanu Apr 29 '13 at 13:45
    
well thats for reseting user password , my case is reseting the GRUB loader password. –  raaz Apr 29 '13 at 13:48
    
Source: linuxquestions.org/linux/answers/Security/… –  duxk.gh May 17 '13 at 12:17
    
I think you mean chroot /mnt/sysImage –  tomrlopes Mar 17 at 21:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.