Problem getting passwd history to work
807557Jul 23 2008 — edited Jul 23 2008Just set up a Solaris 10 box and I edited the /etc/default/passwd file to enable password history checking.
HISTORY=3
DICTIONDBDIR=/var/passwd
Then rebooted. The following files were automatically created:
-rw------- /var/passwd/pw_dict.hwm
-rw------- /var/passwd/pw_dict.pwd
-rw------- /var/passwd/pw_dict.pwi
When I try to change a password as a test user I get the following error:
passwd: failed to open dictionary database.
If I become root and change the password, it will change but the password database is not updated. All three files above are zero bytes. Can't find any info about this problem.