- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX sudo and LDAP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО03-09-2009 01:21 PM
тАО03-09-2009 01:21 PM
HP-UX sudo and LDAP
What file on HPUX do I add this to? I don't believe it is /etc/ldap.conf
uri ldap://ldapserver
bind_timelimit 30
timelimit 30
sudoers_base ou=SUDOers,dc=example,dc=com
I have added the following lines to my /etc/pam.conf and /etc/pam.ldap.trusted because we are running a trusted system.
sudo account sufficient /usr/lib/security/libpam_unix.1
sudo account required /usr/lib/security/libpam_ldap.1
I also added the following lines to my /etc/nsswitch.conf file
sudoers ldap files.
Any help would be appreciated.
Thank you
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2009 09:29 PM
тАО03-09-2009 09:29 PM
Re: HP-UX sudo and LDAP
have you tried edting .? in HPUX , you can run the command
# visudo
example:-
# sudo lsof
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 03:57 AM
тАО03-10-2009 03:57 AM
Re: HP-UX sudo and LDAP
If PAM is working, sudo should work too automagicaly.
For direct connection check http://www.sudo.ws/sudo/readme_ldap.html
BTW: sudoers is an invalid option in nsswitch.conf (see man nsswitch.conf)!
My 2 cents,
Armin
PS: Assign points if you find answers useful!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 09:18 AM
тАО03-10-2009 09:18 AM
Re: HP-UX sudo and LDAP
I need to put the sudoers base and ldap host somewhere. I am not sure where to put this information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 08:39 AM
тАО03-11-2009 08:39 AM