- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PAM per user authentication
Operating System - HP-UX
1823144
Members
3630
Online
109647
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
04-15-2007 08:19 PM
04-15-2007 08:19 PM
PAM per user authentication
I would like to use RADIUS authentication for some users and standard Unix authentication for others (for example: root). Is it possible to do it?
First, I tried to use libpam_updbe.1 and pam_user.conf. However, it seems that this module allows login for all users without any password...
Next, I tried pam_per_user module (http://www.feep.net/PAM/pam_per_user/). However, I have not found a HP binary of that module. I compiled it from sources, but it cannot be loaded. I noticed, that the compiled binary is not a shared library, but "relocatable object":
# file /usr/local/lib/security/pam_per_user.so.1
/usr/local/lib/security/pam_per_user.so.1: PA-RISC2.0 relocatable object
# ldd /usr/local/lib/security/pam_per_user.so.1
ldd: "/usr/local/lib/security/pam_per_user.so.1" is not a shared executable.
It is different to other modules, for example:
# file /usr/lib/security/libpam_unix.1
/usr/lib/security/libpam_unix.1: PA-RISC1.1 shared library -not stripped
How should it be built to work on HP-UX?
I use version B.11.11.
Thanks in advance
pkal
First, I tried to use libpam_updbe.1 and pam_user.conf. However, it seems that this module allows login for all users without any password...
Next, I tried pam_per_user module (http://www.feep.net/PAM/pam_per_user/). However, I have not found a HP binary of that module. I compiled it from sources, but it cannot be loaded. I noticed, that the compiled binary is not a shared library, but "relocatable object":
# file /usr/local/lib/security/pam_per_user.so.1
/usr/local/lib/security/pam_per_user.so.1: PA-RISC2.0 relocatable object
# ldd /usr/local/lib/security/pam_per_user.so.1
ldd: "/usr/local/lib/security/pam_per_user.so.1" is not a shared executable.
It is different to other modules, for example:
# file /usr/lib/security/libpam_unix.1
/usr/lib/security/libpam_unix.1: PA-RISC1.1 shared library -not stripped
How should it be built to work on HP-UX?
I use version B.11.11.
Thanks in advance
pkal
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 02:13 AM
04-18-2007 02:13 AM
Re: PAM per user authentication
Now it seems that pam_per_user works fine. The problem was in Makefile - should be used -b flag, not -shared.
Regards,
pkal
Regards,
pkal
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP