Informational Website publish

Blog

News about our company, tutorials about IT and much more you will find in this page.

Resetting a users password

Janeiro 30th, 2018

To reset a user’s password, use passwd command.

Login as the root user

Open terminal or shell prompt and use command

  • passwd John
Type a new password twice.

Changing password for user root:

  • [root@john ~]# passwd root
  • New password:
    Retype new password:
    passwd: all authentication tokens updated successfully.