Password, temporally disable

From PCLinuxOSHelp Knowledge Base
Jump to: navigation, search

Temporally Disable your user Password

To temporally disable your password.

  • reboot or boot your computer.
  • At the boot screen choose the recovery mode.
  • When you see the sh# prompt enter the following code.

passwd -d yourusername

press the enter key. Now enter the following code

init 3

press the enter key again.

Now you can login and you won't need your password.

To reinstate your userpassword, you will need to be the root user and issue the following code

passwd username

Press the enter key and once again enter your desired password. Pressing the enter key again.

You have now set the password for the username.

NOTE: Your password will not be displayed on the screen as you type it in.

You will need to enter your desired password twice, this can also be done for the root user.