- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pam_passwdqc only works for root
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2007 04:31 AM
06-22-2007 04:31 AM
The passwd part of 'pam.conf' is:
passwd password required pam_passwdqc.1 ask_oldauthtok max=8 min=disabled,6,6,6,6
passwd password required libpam_hpsec.so.1
passwd password required libpam_unix.so.1 use_first_pass
The only changes I have made to 'pam.conf' are to add the pam_passwdqc line and add 'use_first_pass' to libpam_unix, as per suggestion in passwdqc's readme.
The system is using the standard passwd file, not shadow nor trusted mode.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 05:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 09:03 PM
06-24-2007 09:03 PM
Re: pam_passwdqc only works for root
At the moment, if root runs 'passwd some_user' the password is checked and changed properly.
If a regular user logs in and runs 'passwd' to alter their own password, it fails every time and doesn't change the password. The output is:
Changing password for some_user
Sorry.
Regular users have to provide their old password before a new one - could it be that this is confusing pam_unix with the 'use_first_pass' option?
If you have a working passwdqc, could you post the relevent bits of your pam.conf and any other changes you needed to make?
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 11:02 PM
06-24-2007 11:02 PM
Re: pam_passwdqc only works for root
OTHER password required /opt/iexpress/pampasswd/lib/pam_passwdqc.1 ask_oldauthtok=update check_oldauthtok min=disabled,8,8,8,8 max=24 passphrase=0 enforce=users
OTHER password required /usr/lib/security/libpam_unix.1 use_first_pass
OTHER password sufficient /usr/lib/security/libpam_ldap.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 11:05 PM
06-24-2007 11:05 PM
Re: pam_passwdqc only works for root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2007 12:27 AM
06-25-2007 12:27 AM
Re: pam_passwdqc only works for root
Passwd is now functioning properly for both root and regular users.
Your help is much appreciated.