Safeguard Reference Manual (G06.24+, H06.03+ )
User Security Commands
Safeguard Reference Manual—520618-013
5-43
SET USER Command
When you add a user with a PASSWORD-MUST-CHANGE attribute, the 
Safeguard software calculates a PASSWORD-EXPIRES date by adding num 
days to the current date. If the user’s password is not changed before the 
PASSWORD-EXPIRES date, the user cannot log on to the system after that 
date (unless a PASSWORD-EXPIRY-GRACE period has been established).
Each time the password is changed, the Safeguard software calculates a new 
PASSWORD-EXPIRES date by adding num days to the date of the password 
change.
Omitting the EVERY num DAYS clause disables PASSWORD-MUST-
CHANGE. (That is, the user’s password never expires unless the 
PASSWORD-EXPIRES attribute is set.)
PASSWORD-EXPIRY-GRACE num [DAYS]
specifies the number of days after password expiration during which users can 
change their password during logon. For num, specify an integer from 0 to 
32,767. A value of 0 means no grace period.
Omitting num specifies that the value of PASSWORD-EXPIRY-GRACE in the 
Safeguard configuration record is used to determine the user’s extension 
period. In this instance, the value *NONE* appears in this field of the user 
protection record. 
PASSWORD-EXPIRES [ date [ , time] ]
establishes a date and time after which a user’s password expires. Specify 
date and time in local civil time.
If you omit both date and time, no expiration is set for the password. 
(However, an expiration date is calculated and set if a PASSWORD-MUST-
CHANGE period is subsequently specified or altered.) 
If you omit only time, it is set to 0:00 (midnight).
The form of date [, time] is:
{ month-name day } year [,hour:min]
{ day month-name }
month-name
is the first three letters of the month name: JAN, FEB, MAR, and so on. 
(You can use either uppercase or lowercase letters.)
day
is a 1-digit or 2-digit integer from 1 through 31.
year
is a 4-digit integer.










