Skip to main content

Posts

Showing posts with the label Set Password

How to set or Change Linux user Password

How do I set or change Linux system password for any user account? How can I change user password on Linux operating system using the command-line options?  Set or Change Linux user Password The Linux and UNIX-like operating systems use the passwd command to change user password. The passwd is used to update a user's authentication token (password) stored in   /etc/shadow file . The passwd change passwords for user and group accounts. A normal user may only change the password for his/her own account, the super user (or root) may change the password for any account. The administrator of a group may change the password for the group. passwd also changes account information, such as the full name of the user, user login shell, or password expiry date and interval. Linux Set User Password Type following passwd command to change your own password: $ passwd Example of Output: Changing password for netwyman (current) UNIX password: Enter new UNIX password: Retype ...