HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Question about PAM library (/usr/lib/libpam.1), Pr...
Operating System - HP-UX
1833758
Members
2699
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
08-28-2001 06:25 PM
08-28-2001 06:25 PM
Question about PAM library (/usr/lib/libpam.1), Problem with PAM module ......
Hi:
I'm trying to port Krb5 PAM module from Solaris to HPUX11. After having changed the source codes a little bit to fix the compilation warning/errors, the codes compiled and I got the shared library (namely the PAM module, "pam_krb5.1") very easily. (This is no surprise, since this PAM module is already working on Solaris, and PAM becomes a industrial standards now)
But somehow when I configured the /etc/pam.conf file to use this PAM module, the routine "load_modules()" in /usr/lib/libpam.1 fails to load "pam_krb.1", and the error message from syslog.log is simply as below:
PAM: load_modules: can not open module /usr/lib/security/pam_krb5.1
I have checked the "pam_krb5.1" with "ldd -r pam_krb5.1", and all the shared libraries used by "pam_krb5.1' can be found.
To go even farther, I have made another version of "pam_krb5.1" which doesn't depends on any shared library except /usr/lib/libpam.1.
But problem still remains the same.
So does HP's PAM implementation do things differently? --- something like HP PAM doesn't support "pam_putenv()" function. I logged a call to HP tech-support asking for more detail info about developing PAM module for HPUX11, but so far there is no useful response. :(
So anybody know what is the coding rule for writing a PAM module for HPUX11?
Anybody know what are the requirements for a PAM module so it can be loaded by /usr/lib/libpam.1 ?
HP should have really published some docs and guidelines as to how to develop PAM module on HPUX11.
Thanks
Jin
I'm trying to port Krb5 PAM module from Solaris to HPUX11. After having changed the source codes a little bit to fix the compilation warning/errors, the codes compiled and I got the shared library (namely the PAM module, "pam_krb5.1") very easily. (This is no surprise, since this PAM module is already working on Solaris, and PAM becomes a industrial standards now)
But somehow when I configured the /etc/pam.conf file to use this PAM module, the routine "load_modules()" in /usr/lib/libpam.1 fails to load "pam_krb.1", and the error message from syslog.log is simply as below:
PAM: load_modules: can not open module /usr/lib/security/pam_krb5.1
I have checked the "pam_krb5.1" with "ldd -r pam_krb5.1", and all the shared libraries used by "pam_krb5.1' can be found.
To go even farther, I have made another version of "pam_krb5.1" which doesn't depends on any shared library except /usr/lib/libpam.1.
But problem still remains the same.
So does HP's PAM implementation do things differently? --- something like HP PAM doesn't support "pam_putenv()" function. I logged a call to HP tech-support asking for more detail info about developing PAM module for HPUX11, but so far there is no useful response. :(
So anybody know what is the coding rule for writing a PAM module for HPUX11?
Anybody know what are the requirements for a PAM module so it can be loaded by /usr/lib/libpam.1 ?
HP should have really published some docs and guidelines as to how to develop PAM module on HPUX11.
Thanks
Jin
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