passwd command

The passwd command changes the password for the user.

Syntax

The syntax for the passwd command is:
passwd [options] [user]

Options

OptionDescription
-sDisplays password information.

passwd
Running passwd with no options will change the password of the account running the command. You will first be prompted to enter the account's current password:
(current) UNIX password:
If it is correct, you will then be asked to enter a new password:
Enter new UNIX password:
...and to enter the same password again, to verify it:
Retype new UNIX password:
If the passwords match, the password will be changed.

Comments

Popular posts from this blog

gsutil Vs Storage Transfer Service Vs Transfer Appliance

SQL basic interview question