CentOS 7.0 - man page for lpasswd (centos section 1)
|Linux & Unix Commands - Search Man Pages
lpasswd - Change group or user password
lpasswd [OPTION]... [name]
Changes password of user or group name.
If the name argument is not provided, username of the invoking user is used; the name
argument is ignored if lpasswd is run set-uid to a different user.
Entering an empty password (by pressing Enter) aborts the password setting operation.
Read password from file descriptor fd, terminated by end of file, '\r' or '\n'.
Read password hash from file descriptor fd, terminated by end of file, '\r' or
Change password of group name. By default the password of user name is changed.
Ask all questions when connecting to the user database, even if default answers are
set up in libuser configuration.
Set the password to password. Note that the password can be viewed while running
lpasswd using tools such as ps(1).
Set the password to the password represented by the hash encrypted. Note that the
hash can be viewed while running lpasswd using tools such as ps(1).
The exit status is 0 on success, nonzero on error.
libuser Jan 12 2005 lpasswd(1)
All times are GMT -4. The time now is 06:02 PM.