This example replaces USER56's previous password with WORK and prompts him to change his password immediately during his first signon. He is forced to change his password every nine days.
TSS ADDTO(USER56) PASSWORD(WORK,9,EXP)
In this example USER56 signs on with this password until it expires in 30 days (or the default set by the PWEXP control option) or until he changes it on his own. This assumes that the NEWPW control option is not set to NU to prevent USER56 from changing his own password.
TSS ADDTO(USER56) PASSWORD(WORK)
This example shows a non-administrator (USER56) with the default NEWPW option set of MIN=4,MAX=8,MINDAY=1,WARN=3:
TSS REPLACE(USER56) PASSWORD(ALLEN11)
If the NEWPW option NR=1 is set, the above password change fails.
This example replaces USER01's expiration interval without changing or knowing USER01's password:
TSS ADDTO(USER01) PASSWORD(*,10)
|
Copyright © 2009 CA.
All rights reserved.
|
|