Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a customer that has about 12 RHEL 6 servers. We enforce password aging so every 60 days each user that logs in much update his or her password. On every server but one one user (possibly more but only one has reported teh issue) has been able to update his password. On the one server that isn't working, he is getting the "passwd: Authentication token manipulation error" message.
When I look through /var/log/secure I'm seeing the following:
Code:
Jan 17 13:53:30 tcrbisprr6sg02 passwd: pam_cracklib(passwd:chauthtok): pam_get_authtok_verify returned error: Failed preliminary check by password service
Jan 17 13:53:41 tcrbisprr6sg02 passwd: pam_unix(passwd:chauthtok): can't open /etc/security/opasswd file to check old passwords
I've verified that the file exists and it has permissions identical to those on another server that he was able to change his password on. I've also verified that the pam_cracklib.so settings are the same for the two servers:
I asked if he was entering a password that meets the requirements. He responded that yes, he was and that it is the same password as the one he set on the other servers.
I've also tested the issue with a password I know to meet the requirements.
Is there anything else I can be looking at to troubleshoot this problem?
The perms on the security directory of the offending server:
Code:
drwxr-xr-x. 6 root root 4096 Jan 17 19:09 security
which matches those of another, working server:
Code:
drwxr-xr-x. 6 root root 4096 Jan 17 14:22 security
It doesn't seem selinux is a factor in this. I have also received word that others are also having the problem, not just the person that reported the issue.
please post ownership and perms for your ospasswd file
also, if you "man login.defs" you'll see this statement?
Code:
Much of the functionality that used to be provided by the shadow password suite is now handled by PAM.
Thus, /etc/login.defs is no longer used by programs such as: login(1), passwd(1), su(1). Please refer to
the corresponding PAM configuration files instead.
Last edited by Linux_Kidd; 01-18-2012 at 01:28 PM.
well, maybe a corrupt opasswd file? can you more that file and it looks normal like your other opasswd files on the other system? maybe rename it with .orig.bak and then touch opasswd (making sure chmod and chown are correct, etc). sounds to me like the file is corrupt...?
does that pam setup look the same as working system?
Last edited by Linux_Kidd; 01-30-2012 at 11:58 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.