Tuesday 24 December 2013

HOW PASSWORD HISTORY MAINTAINED IN SOLARIS 10

# grep "\^HISTORY=" /etc/default/passwd
HISTORY=10
 passwd gmb
Enter existing login password:
New Password:
passwd: Password in history list.
Please try again
New Password:

-r--------   1 root     root          47 Sep 28 22:21 /etc/security/passhistory
# cat /etc/security/passhistory
gmb:TRltRapbB7Eek:l5rXbTq1EJ7bQ:yEB668aaGv5z6:LgbM3LpCsERlA:
# grep "\^HISTORY=" /etc/default/passwd
HISTORY=10
# grep "\^CRYPT_DEFAULT=" /etc/security/policy.conf
CRYPT_DEFAULT=__unix__
# cat /etc/security/passhistory
gmb:aMPK0ug.Syoag:Lp145TNOHmdlM:
# grep "\^CRYPT_DEFAULT=" /etc/security/policy.conf
CRYPT_DEFAULT=2a
# grep "\^2a" /etc/security/crypt.conf
2a      crypt_bsdbf.so.1
# passwd gmb
New Password:
Re-enter new Password:
passwd: password successfully changed for gmb
# cat /etc/security/passhistory
gmb:$2a$04$A.vGapPSCtbmXj3B9hYK..7fkgJqpg3YKXFoOt1T.YLBk0xw5p9E.:aMPK0ug.Syoag:Lp145TNOHmdlM

No comments:

Post a Comment