Default max password expiry is 99999 days, why?
# Password aging controls:
# PASS_MAX_DAYS Maximum number of days a password may be used. # PASS_MIN_DAYS Minimum number of days allowed between password changes # PASS_MIN_LEN Minimum acceptable password length. # PASS_WARN_AGE Number of days warning given before a password expires PASS_MAX_DAYS 99999 PASS_MIN_DAYS 0 PASS_MIN_LEN 5 PASS_WARN_AGE 7 Why is it 99999 days? 5 nines. What is special about this? Does it have to be 5 characters? It coulda been 9999, even 999 days. I feel like there’s a reason it is 99999. I realize this doesn’t matter for function, but I am curious as to why. If there is no reason, I want to know that too. |
What is the context of this "default password expiry" setting?
|
Default max password expiry is 99999 days, why?
My quick guesx is 99,999 is just under 275 years, thus 9999 would be just under 27 years. Where the latter can happen in the life span of code ( I had a job in the early 1990's updating code written in the 1960's), the former is not. Since you have a field of width X, X=4 could cause an issue, but X=5, if it caused an issue would be 200 years after the person who caused it died.
Greg |
Quote:
As for why "99999"? Probably just some value the person that set up the configuration pulled out of thin air (or somewhere else). "12345" (a still-too-long 33.8 years) could have been just as likely found in the config. I've always figured that PostgreSQL listens on port "5432" for much the same reason. |
Quote:
|
Quote:
|
Oops! Already solved but here's my :twocents: worth...
Quote:
Play Bonny! :hattip: |
Quote:
|
OK, I said "equivalent". Should I have said "User will expire first"? :D :D :D
Keep up the nit picking! :D Play Bonny! :hattip: |
All times are GMT -5. The time now is 03:50 PM. |