HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PAM password change failed on HPUX
Operating System - HP-UX
1833776
Members
2274
Online
110063
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
07-02-2010 03:33 AM
07-02-2010 03:33 AM
PAM password change failed on HPUX
I have a Pluggable Authentication Modules (PAM) based native tool called "ValidateUser" to:
a) Validate userName & password combination
b) Change password for newly created user
PAM function to change password:
int r_value = pam_chauthtok(pamh, PAM_SILENT);
Where r_value ccould be:
PAM_PERM_DENIED, PAM_AUTHTOK_ERR, PAM_AUTHTOK_RECOVERY_ERR, PAM_AUTHTOK_LOCK_BUSY, PAM_AUTHTOK_DISABLE_AGING, PAM_USER_UNKNOWN, PAM_TRY_AGAIN
The password change feature b) is causing "PAM_PERM_DENIED" error while trying to set a password on HPUX machine. I observed this issue on all three HPUX machines I tried so far. I tried it on HPUX OS levels B.11.31 and B.11.22. Also, I ran this tool as "root" and non-root user. However, the same feature is working fine on RedHat, Suse-x, AIX and Solaris platforms.
I suspect that the default PAM configuration on HPUX machine might have caused this issue.
Could anyone help me resolve this issue?
Thank you.
a) Validate userName & password combination
b) Change password for newly created user
PAM function to change password:
int r_value = pam_chauthtok(pamh, PAM_SILENT);
Where r_value ccould be:
PAM_PERM_DENIED, PAM_AUTHTOK_ERR, PAM_AUTHTOK_RECOVERY_ERR, PAM_AUTHTOK_LOCK_BUSY, PAM_AUTHTOK_DISABLE_AGING, PAM_USER_UNKNOWN, PAM_TRY_AGAIN
The password change feature b) is causing "PAM_PERM_DENIED" error while trying to set a password on HPUX machine. I observed this issue on all three HPUX machines I tried so far. I tried it on HPUX OS levels B.11.31 and B.11.22. Also, I ran this tool as "root" and non-root user. However, the same feature is working fine on RedHat, Suse-x, AIX and Solaris platforms.
I suspect that the default PAM configuration on HPUX machine might have caused this issue.
Could anyone help me resolve this issue?
Thank you.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP