Base Operating System and Extensions Technical Reference, Volume 1 passwdexpired Subroutine Purpose Checks the user's password to determine if it has expired. If the registry variable is not defined, the passwdexpired subroutine checks the local, NIS, and DCE databases for the user definition and expiration time. The passwdexpired subroutine may pass back informational messages, such as how many days remain until password expiration. Parameters UserName Specifies the user's name whose password is to be checked.
Message Points to a pointer that the passwdexpired subroutine allocates memory for and fills in.
This string is suitable for printing and issues messages, such as in how many days the password will expire. 1 Indicates that the password is expired, and the user must change it. 2 Indicates that the password is expired, and only a system administrator may change it. The authenticate subroutine. The login command.