HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PAM configuration
Operating System - HP-UX
1837141
Members
2474
Online
110112
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-15-2004 10:29 PM
07-15-2004 10:29 PM
PAM configuration
Hi,
i have configured PAM on HPUX11i to work with our NT4 domain. This is working fine but I get the following error message appear for non NT accounts :-
pam_ntlm: Incorrect NT password for username
I understand that if I need a seperate authentification method for individual users ie. root then I need to use pam_updbe in pam.conf.
Here is how I have pam.conf configured :-
login auth required /usr/lib/security/libpam_updbe.1
login auth sufficient /usr/lib/security/libpam_ntlm.1 use_first_pass
and then in pam_user.conf :-
root auth /usr/lib/security/libpam_unix.1
What am I doing wrong ?
i have configured PAM on HPUX11i to work with our NT4 domain. This is working fine but I get the following error message appear for non NT accounts :-
pam_ntlm: Incorrect NT password for username
I understand that if I need a seperate authentification method for individual users ie. root then I need to use pam_updbe in pam.conf.
Here is how I have pam.conf configured :-
login auth required /usr/lib/security/libpam_updbe.1
login auth sufficient /usr/lib/security/libpam_ntlm.1 use_first_pass
and then in pam_user.conf :-
root auth /usr/lib/security/libpam_unix.1
What am I doing wrong ?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2005 03:18 AM
05-24-2005 03:18 AM
Re: PAM configuration
This thread is a bit old, but I'll give it a try anyway.
The problem here is that it is really a misunderstanding of how libpam_updbe works. libpam_updbe does not change the stacking order of PAM modules, it *only* changes the arguments a particular library is called with on a per-user basis. In your example above, since libpam_unix is not in pam.conf, putting libpam_unix in pam_user.conf does nothing because libpam_unix is never called in the first place. The correct configuration would be more like
pam.conf:
login auth sufficient /usr/lib/security/libpam_ntlm.1
login auth required /usr/lib/security/libpam_unix.1
so that users that are not in the NT domain (such as root) will "fall through" to the libpam_unix module. In addition, you could put the following in pam_user.conf
root auth /usr/lib/security/libpam_ntlm.1 ignore
so that "root" will not be authenticated off of the NT domain. Other options are possible, depending on what you want.
The problem here is that it is really a misunderstanding of how libpam_updbe works. libpam_updbe does not change the stacking order of PAM modules, it *only* changes the arguments a particular library is called with on a per-user basis. In your example above, since libpam_unix is not in pam.conf, putting libpam_unix in pam_user.conf does nothing because libpam_unix is never called in the first place. The correct configuration would be more like
pam.conf:
login auth sufficient /usr/lib/security/libpam_ntlm.1
login auth required /usr/lib/security/libpam_unix.1
so that users that are not in the NT domain (such as root) will "fall through" to the libpam_unix module. In addition, you could put the following in pam_user.conf
root auth /usr/lib/security/libpam_ntlm.1 ignore
so that "root" will not be authenticated off of the NT domain. Other options are possible, depending on what you want.
Trust me, I know what I'm doing
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