- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SUDO Configuration with 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
Forums
Discussions
Discussions
Discussions
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
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
06-02-2006 01:00 AM
06-02-2006 01:00 AM
SUDO Configuration with ldap
I have build sudo with ldap option. Now i am doing testing. In which ldap.conf i,e server or client we have to make following entry
sudoers_base ou=SUDOers,dc=example,dc=com?
I have tried this with the ldap server's ldap.conf file, sudo is not reading data from the database. Any thing more we have to do?.
I have inserted data into ldap in correct format.
Thanks and Regards,
Ambika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 01:57 AM
06-02-2006 01:57 AM
Re: SUDO Configuration with ldap
Importing /etc/sudoers to LDAP:
step 1:
Ask your LDAP Admin where to create the ou=SUDOers container.
(an example location is shown below).Then use the provided script to convert your sudoers file into LDIF format.The script will also convert any default options.
#SUDOERS_BASE=ou=SUDOers,dc=example,dc=com
#export SUDOERS_BASE
#./sudoers2ldif /etc/sudoers >/tmp/sudoers.ldif
step 2:
Import into your directory server.If you are using OpenLDAP,do the following if you are using another directory,provide the LDIF file to your LDAP Admin.An example is ashown below.
#ldapadd -f /tmp/sudoers.ldif -h ldapserver > -D cn=Manager,dc=example,dc=com -W -x
regards;
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 02:25 AM
06-02-2006 02:25 AM
Re: SUDO Configuration with ldap
I have done all the steps given in http://www.courtesan.com/sudo/readme_ldap.html.
When i did sudo -l , its showing entries which are there in /etc/sudoers. But it should show from ldap database also. So is there ary other way to configure.
Regards,
Ambika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 02:34 AM
06-02-2006 02:34 AM
Re: SUDO Configuration with ldap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2006 04:29 PM
06-04-2006 04:29 PM
Re: SUDO Configuration with ldap
Is there any way to check wether sudo is built with ldap options or not?
We have to build GQ tool, any special configuration is required to build GQ tool?
Thanks and Regards,
Ambika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2006 05:58 PM
06-04-2006 05:58 PM
Re: SUDO Configuration with ldap
pls read followink link;there are lots of tricks at the text.
http://www.courtesan.com/sudo/readme_ldap.html
regards;
mustafa