Print this page
4107 Add passwd option to read passwords from stdin

@@ -48,10 +48,13 @@
 
        passwd -r nisplus [-l | -u | -N] [-f] [-n min] [-w warn]
             [-x max] [-D domainname] name
 
 
+       passwd -S [name]
+
+
 DESCRIPTION
        The passwd command changes the password or lists password attributes
        associated with the user's login name. Additionally, privileged users
        can use passwd to install or change passwords and attributes associated
        with any login name.

@@ -394,10 +397,14 @@
                   Sets maximum field for name. The max field contains the
                   number of days that the password is valid for name. The
                   aging for name is turned off immediately if max is set to1.
 
 
+       -S
+                  Read the password from standard input (pipe).
+
+
 OPERANDS
        The following operand is supported:
 
        name
                User login name.

@@ -692,11 +699,10 @@
        The pam_unix(5) module is no longer supported. Similar functionality is
        provided by pam_unix_account(5), pam_unix_auth(5), pam_unix_session(5),
        pam_authtok_check(5), pam_authtok_get(5), pam_authtok_store(5),
        pam_dhkeys(5), and pam_passwd_auth(5).
 
-
        The nispasswd and ypasswd commands are wrappers around passwd. Use of
        nispasswd and ypasswd is discouraged. Use passwd -r repository_name
        instead.
 
 

@@ -727,6 +733,6 @@
        An account with no password, status code NP, might not be able to
        login.  See the login(1) PASSREQ option.
 
 
 
-                                 May 31, 2013                        PASSWD(1)
+                                 June 18, 2015                       PASSWD(1)