Edit Article

Edited by Unavowed

So you forgot your Linux/Ubuntu/Unix password? No worries, this article will guide you how to reset your Linux password in minutes.

EditSteps

  1. Reset Forgotten Password in Linux Step 1 Version 2.jpg
    1
    Boot into recovery mode. While your computer is booting, from the boot menu select the "recovery mode" option.
    • Press F8 key in case boot menu doesn't appear.
      Reset Forgotten Password in Linux Step 1Bullet1.jpg
  2. Reset Forgotten Password in Linux Step 2 Version 2.jpg
    2
    Select the option 'Drop to root shell prompt'. After the computer boots in to recovery mode, from the Recovery menu select the option 'Drop to root shell prompt'
  3. Reset Forgotten Password in Linux Step 3 Version 2.jpg
    3
    Type the command. To change the password type the command 'passwd username' and follow the instruction below.
  4. Reset Forgotten Password in Linux Step 4 Version 2.jpg
    4
    In case of error. There is a possibility that you may get an 'Authentication token manipulations error' as Filesystem state could be 'Read only'. To fix it, type the following command before the first command. mount -rw -o remount
Add your own method
Save

Article Info

Categories: Linux | Operating Systems | Computers and Electronics

Thanks to all authors for creating a page that has been read 247 times.

Was this article accurate?

YesNo