Operating System - OpenVMS
1753797 Members
8063 Online
108799 Solutions
New Discussion юеВ

Password history lifetime and password history limit

 
stepstepvms
Occasional Contributor

Password history lifetime and password history limit

Hi all, I know that the password history lifetime and password history limit are stored in SYS$PASSWORD_HISTORY_LIFETIME and SYS$PASSWORD_HISTORY_LIMIT respectively.

I have tried to show these value the following commands with no succeed:

$ show symbol SYS$PASSWORD_HISTORY_LIFETIME

Would you mind suggesting me how can i obtain the values ?

Thanks a lot and sorry to post such simple question.
2 REPLIES 2

Re: Password history lifetime and password history limit

Hi,

SYS$PASSWORD_HISTORY_LIFETIME and SYS$PASSWORD_HISTORY_LIMIT are logicals. You can use

$ SHOW LOGICAL SYS$PASSWORD_HISTORY_LIFETIME
and
$ SHOW LOGICAL SYS$PASSWORD_HISTORY_LIMIT

to view these values. If the logicals are not defined, then the default values are 365 days for SYS$PASSWORD_HISTORY_LIFETIME and 60 for SYS$PASSWORD_HISTORY_LIMIT.

Best Regards,
Sandeep
John Gillings
Honored Contributor

Re: Password history lifetime and password history limit

Or, a short cut to see them both at once:

$ SHOW LOGICAL SYS$PASSWORD*

Note that these logical names will only work if defined in the SYSTEM table at EXECUTIVE mode, so to be certain you're seeing the correct definitions, use:

$ SHOW LOGICAL/SYSTEM/ACCESS_MODE=EXECUTIVE SYS$PASSWORD*

When defining these logical names first make sure you have both SYSNAM and SYSPRV privileges


$ SET PROCESS/PRIVILEGE=(SYSNAM,SYSPRV)
$ DEFINE/SYSTEM/EXEC SYS$PASSWORD_HISTORY_LIFETIME "600"
$ DEFINE/SYSTEM/EXEC SYS$PASSWORD_HISTORY_LIMIT "200"

then check that the logical names are in the correct table and with EXEC access mode (there is a bug in DEFINE which silently drops /EXEC if the process lacks SYSNAM privilege. This is documented, but it's still a bug!).

A crucible of informative mistakes