

            pword (1) --- change login password                      08/24/84


          | _U_s_a_g_e

          |      pword


          | _D_e_s_c_r_i_p_t_i_o_n

          |      'Pword'  changes  a  user's  login password.  A Primos login
          |      password consists of up to 16 letters, numbers, and the fol-
          |      lowing special characters:  '#', '$', '&',  '*',  '-',  '.',
          |      and  '/'.   Null passwords (consisting of no characters) may
          |      or may not be allowed depending on the specific system.

          |      'Pword' turns off terminal echo  (to  prevent  someone  from
          |      peeking)  and  requests  the old password.  It then requests
          |      the new password.  The new password is  requested  a  second
          |      time to verify that the user is changing his password to the
          |      correct  string.  If the two new passwords differ in any way
          |      then an error message is printed and the users  password  is
          |      left  unchanged.   'Pword'  then  calls  the  Primos routine
          |      CHG$PW to  change  the  user's  password.   Any  errors  are
          |      interpreted and printed on the terminal.


          | _E_x_a_m_p_l_e_s

          |      pword
          |      Old password: old.password
          |      New password: new.password$
          |      Reenter new password for verification: new.password$


          | _M_e_s_s_a_g_e_s

          |      "One  of the passwords was illegal" if a password containing
          |      an illegal character is entered.

          |      "The old password did not match the actual password" if  the
          |      old  password  entered did not match the actual old password
          |      of the account.

          |      "Disk is write protected.  See system administrator" if  the
          |      disk on which the passwords reside is write protected.


          | _S_e_e _A_l_s_o

          |      Primos CHANGE_PASSWORD command, Primos chg$pw










            pword (1)                     - 1 -                     pword (1)


