Node:set-passwd, Next:query-read-texts-old, Previous:set-priv-bits, Up:Protocol Requests
set-passwd [8] (( person : Pers-No;
old-pwd : HOLLERITH;
new-pwd : HOLLERITH )) -> ( );
This call is used to set the password of person to
new-pwd. Any person may set it's own password. In addition
persons with sufficient privileges may set other persons' passwords.
The password of the person currently logged in must match
old-pwd.
Example:
1 8 5 6Hgazonk 7Ha9go8Hz
=1
This example sets the password of the LysKOM administrator to "a9go8Hz" provided that the old password was "gazonk".
login-first
undefined-person
person is not a valid person.
permission-denied
wheel bit set and
privilege level 7 or higher enabled.
invalid-password
old-pwd is invalid or new-pwd is invalid as a password.