Use the GETPWEXP command to obtain information the date when a user LOGON password is set to expire.
GETPWEXP [userid] [("Options"]
Options:
[FILE [filename]] [MSG | NOMSG ] [STACK [FIFO | LIFO]] [FIFO] [LIFO]
Note: Options can be entered in any order.
You must have GETPWEXP authorization through a GRANT GETPWEXP record in the AUTHORIZ CONFIG file to be able to obtain password expiration information.
To use the GETPWEXP command on user IDs other than your own, you must have a GRANT GETPWEXP OVER userid TO userid record in the AUTHORIZ CONFIG file.
Note: For more information, see the section "Granting Authorizations to Use Commands on Only Some User IDs" in the chapter "Authorizations" of the Administration Guide.
Specifies the name of a USER or IDENTITY directory entry whose password expiration you want to see. If a user ID is not specified, the password expiration information is collected for the requesting user ID.
Appends the results of the command to the specified file. The default filename is GETPWEXP; the filetype is always RESULTS. The file is created if it does not already exist, but is appended to if it does exist.
Controls the output messages.
Stacks the results in your program stack.
Note: For more information about the FILE, MSG|NOMSG, and STACK options, see Common API Command Options.
Examples
vmdirect getpwexp
VMXGET0534I USERID CLIFFC PASSWORD WILL EXPIRE IN 19 DAYS on 15 AUG 2003
vmdirect getpwexp normp
CA VM:Director displays:
VMXGET0536I USERID NORMP PASSWORD EXPIRED 309 DAYS AGO ON 15 AUG 2002
|
Copyright © 2014 CA.
All rights reserved.
|
|