How To Reset Your Ubuntu Password

Posted on the October 27th, 2009 under Ubuntu by Stephen

In case you forgot your Ubuntu password, here is a quick, easy way to reset it:

  1. Start your computer; pay close attention to boot promts
     
  2. When your computer boots to the GRUB screen, looks like below

    => use your up/down arrow keys on your keyboard to select any line that has (single-user mode)
     
  3. Once you got a line with (single-user mode) selected, hit Enter
     
  4. When the “Recovery Menu” pops up, use the Down arrow key and select “root       Drop to root shell prompt”

     
  5. Once selected, press the Tab key; this would highlight <Ok> => Once Ok is selected, press Enter

     
  6. A shell prompt would appear. We can now use the “passwd” command to reset password. Make sure to replace “your_username” with the username you used to login to your Ubuntu.
    passwd your_username  (i.e. password stephen and hit Enter)
    
    Enter new UNIX password:  (enter your password and hit Enter)
    Retype new UNIX password:  (enter your password and hit Enter)
    
    passwd: password updated successfully => you are done.
    

    Now type this to restart your computer:

    reboot

Share this page:
  • Facebook
  • Twitter
  • StumbleUpon
  • Slashdot
  • Digg
  • del.icio.us
  • Google Bookmarks
  • Live
  • MySpace
  • Technorati
  • LinkedIn
  • Reddit
Related Posts:
  1. How do I reset a forgotten server root password under Linux?
  2. How to Install Ubuntu 9.10
  3. How to Easily Upgrade Grub Legacy to Grub 2
  4. How to add/remove Programs in Ubuntu
  5. How To Run Multiple Operating Systems At The Same Time

Leave a Comment