- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PAM: can't get libpam_updbe.1 to work
Operating System - HP-UX
1760061
Members
3910
Online
108889
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
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
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
06-17-2003 07:08 AM
06-17-2003 07:08 AM
PAM: can't get libpam_updbe.1 to work
I had another user post part of this earlier, so my apologies if you've read it before.
I have a PAM library to do RADIUS authentication. If I set my pam.conf like this
login auth sufficient /usr/lib/security/pam_radius_auth.so debug
login password sufficient /usr/lib/security/pam_radius_auth.so debug
Everything works fine. The PAM log looks like this:
Jun 16 17:25:05 hpj67501 : pam_radius_auth: Got user name suhoveck
Jun 16 17:25:11 hpj67501 : pam_radius_auth: Sending RADIUS request code 1
Jun 16 17:25:11 hpj67501 : pam_radius_auth: Got RADIUS response code 2
Jun 16 17:25:11 hpj67501 : pam_radius_auth: authentication succeeded
Jun 16 17:25:11 hpj67501 : pam_sm_setcred(): no module data
Then I tried using libpam_updbe.1 to allow users listed in pam_user avoid RADIUS. I changed pam.conf to this:
login auth sufficient /usr/lib/security/libpam_updbe.1 debug
login auth required /usr/lib/security/pam_radius_auth.so debug
login password sufficient /usr/lib/security/libpam_updbe.1 debug
login password required /usr/lib/security/pam_radius_auth.so debug
I also changed pam_user.conf to contain:
suhoveck auth /usr/lib/security/libpam_unix.1 debug
suhoveck password /usr/lib/security/libpam_unix.1 debug
I would expect from this configuration that user suhoveck would be authenticated against /etc/passwd, and all others against RADIUS.
When I do this; however, anyone trying to login (including root) is let in without a password challenge at all. The PAM log shows only
Jun 16 17:50:04 hpj67501 : pam_sm_setcred(): no module data
I've searched this forum, found several instances of folks with the same problem (see postings on 2/07 & 6/11) and in every case so far, the solution has been to work around it, and not use pamlib_updbe.
If there's someone out there who's using it, and can provide a counterexample, I'd love to see it
My example was run on a J6750 running 11. The machine's swlist is attached.
Any help is appreciated.
Thanks,
Mark
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP