HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pam policies and forced password change
Operating System - HP-UX
1826452
Members
3969
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-19-2003 04:30 AM
08-19-2003 04:30 AM
pam policies and forced password change
Does anyone have any experiences of pam policies not working for forced password change?
The current pam.conf has the following for the login section of password management:
login session required /usr/lib/security/libpam_updbe.1
login password required /usr/lib/security/pam_passwdqc.so ask_oldauthtok
=update check_oldauthtok min=disabled,6,6,6,6 max=8 passphrase=0 enforce=users r
etry=3 random=0 match=3
login password required /usr/lib/security/libpam_unix.1 use_first_pass
passwd session required /usr/lib/security/libpam_updbe.1
passwd password required /usr/lib/security/pam_passwdqc.so ask_oldauthtok
=update check_oldauthtok min=disabled,6,6,6,6 max=8 passphrase=0 enforce=users r
etry=3 random=0 match=3
passwd password required /usr/lib/security/libpam_unix.1 use_first_pass
When password is forced at next login (-f) or password ageing kicks off, then the two stage process doesn't work and 'sorry' is returned.
If 'sufficient' is used instead of 'required' for pam_passwdqc.so so the 2nd stage is not started if succesfull then the password is not changed and login is left in a continual force password change loop. If this is left as required, and in the second stage, the use_first_pass is changed to try_first_pass then password login changes goes through the first stage (without changing the password!) and allows changing at the second stage: libpam_unix.1 try_first_pass.
If however the user has logged on and used passwd to self-change their password then the additional security works.
Has anyone got any experiences like this. Are there any outstanding issues with pam modules?
Thanks
Stephen
The current pam.conf has the following for the login section of password management:
login session required /usr/lib/security/libpam_updbe.1
login password required /usr/lib/security/pam_passwdqc.so ask_oldauthtok
=update check_oldauthtok min=disabled,6,6,6,6 max=8 passphrase=0 enforce=users r
etry=3 random=0 match=3
login password required /usr/lib/security/libpam_unix.1 use_first_pass
passwd session required /usr/lib/security/libpam_updbe.1
passwd password required /usr/lib/security/pam_passwdqc.so ask_oldauthtok
=update check_oldauthtok min=disabled,6,6,6,6 max=8 passphrase=0 enforce=users r
etry=3 random=0 match=3
passwd password required /usr/lib/security/libpam_unix.1 use_first_pass
When password is forced at next login (-f) or password ageing kicks off, then the two stage process doesn't work and 'sorry' is returned.
If 'sufficient' is used instead of 'required' for pam_passwdqc.so so the 2nd stage is not started if succesfull then the password is not changed and login is left in a continual force password change loop. If this is left as required, and in the second stage, the use_first_pass is changed to try_first_pass then password login changes goes through the first stage (without changing the password!) and allows changing at the second stage: libpam_unix.1 try_first_pass.
If however the user has logged on and used passwd to self-change their password then the additional security works.
Has anyone got any experiences like this. Are there any outstanding issues with pam modules?
Thanks
Stephen
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP