HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX authenticating to Active Directory
Operating System - HP-UX
1833758
Members
2931
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
11-27-2008 03:34 PM
11-27-2008 03:34 PM
HP-UX authenticating to Active Directory
Hi,
I'm setting up LDAP based authentication for my HP-UX 11.11 environment and I have a question about the /etc/pam.conf file.
In all the documentation I've seen, the "Authentication Management" section looks similar to this:
login auth sufficient /usr/lib/security/libpam_krb5.1
login auth required /usr/lib/security/libpam_unix.1 try_first_pass
su auth sufficient /usr/lib/security/libpam_krb5.1
su auth required /usr/lib/security/libpam_unix.1 try_first_pass
dtlogin auth sufficient /usr/lib/security/libpam_krb5.1
dtlogin auth required /usr/lib/security/libpam_unix.1 try_first_pass
dtaction auth sufficient /usr/lib/security/libpam_krb5.1
dtaction auth required /usr/lib/security/libpam_unix.1 try_first_pass
sshd auth sufficient /usr/lib/security/libpam_krb5.1
sshd auth required /usr/lib/security/libpam_unix.1 try_first_pass
ftp auth sufficient /usr/lib/security/libpam_krb5.1
ftp auth required /usr/lib/security/libpam_unix.1 try_first_pass
OTHER auth sufficient /usr/lib/security/libpam_krb5.1
OTHER auth required /usr/lib/security/libpam_unix.1 try_first_pass
All the man pages and websites say to use the "try_first_pass" flag and NOT the "use_first_pass" flag.
However, when I use the "try_first_pass" and try to log in a user who exists both locally AND in Active Directory, the terminal always prompts the user for a "System Password" like this:
login as: rgroten
Using keyboard-interactive authentication.
Password:
Using keyboard-interactive authentication.
System Password:
No matter what password I enter it always fails.
But when I use the "use_first_pass" flag on the otherwise identical file, this issue doesn't come up and the user is logged on normally.
Is it a problem that I'm using the "use_first_pass" flag instead of "try_first_pass"? The man pages explicitly state that you shouldn't use "use_first_pass" unless the auth section is designated as "optional". (By the way, setting the libpam_krb5.1 modules to optional results in the same "System password:" problem as above)
Also, if I change all the libpam_unix.1 entries in the auth section to "sufficient" instead of "required", then the "try_first_pass" flag works just fine.
Any insight is greatly appreciated.
Thanks,
Ryan
I'm setting up LDAP based authentication for my HP-UX 11.11 environment and I have a question about the /etc/pam.conf file.
In all the documentation I've seen, the "Authentication Management" section looks similar to this:
login auth sufficient /usr/lib/security/libpam_krb5.1
login auth required /usr/lib/security/libpam_unix.1 try_first_pass
su auth sufficient /usr/lib/security/libpam_krb5.1
su auth required /usr/lib/security/libpam_unix.1 try_first_pass
dtlogin auth sufficient /usr/lib/security/libpam_krb5.1
dtlogin auth required /usr/lib/security/libpam_unix.1 try_first_pass
dtaction auth sufficient /usr/lib/security/libpam_krb5.1
dtaction auth required /usr/lib/security/libpam_unix.1 try_first_pass
sshd auth sufficient /usr/lib/security/libpam_krb5.1
sshd auth required /usr/lib/security/libpam_unix.1 try_first_pass
ftp auth sufficient /usr/lib/security/libpam_krb5.1
ftp auth required /usr/lib/security/libpam_unix.1 try_first_pass
OTHER auth sufficient /usr/lib/security/libpam_krb5.1
OTHER auth required /usr/lib/security/libpam_unix.1 try_first_pass
All the man pages and websites say to use the "try_first_pass" flag and NOT the "use_first_pass" flag.
However, when I use the "try_first_pass" and try to log in a user who exists both locally AND in Active Directory, the terminal always prompts the user for a "System Password" like this:
login as: rgroten
Using keyboard-interactive authentication.
Password:
Using keyboard-interactive authentication.
System Password:
No matter what password I enter it always fails.
But when I use the "use_first_pass" flag on the otherwise identical file, this issue doesn't come up and the user is logged on normally.
Is it a problem that I'm using the "use_first_pass" flag instead of "try_first_pass"? The man pages explicitly state that you shouldn't use "use_first_pass" unless the auth section is designated as "optional". (By the way, setting the libpam_krb5.1 modules to optional results in the same "System password:" problem as above)
Also, if I change all the libpam_unix.1 entries in the auth section to "sufficient" instead of "required", then the "try_first_pass" flag works just fine.
Any insight is greatly appreciated.
Thanks,
Ryan
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