Hi! I need to give some of ldap users to sudo access. I am not sure how to configure SUDO access in LDAP. Your valuable suggestion appreciated!
Thanks in Advance!
-
I could be wrong but can't you just add their uid to the /etc/sudoers file? Since PAM is used to authenticate, the uid added to that file should work fine.
T
On Jan 29, 2009, at 3:27 PM, Paul bob wrote:
Hi! I need to give some of ldap users to sudo access. I am not sure how to configure SUDO access in LDAP. Your valuable suggestion appreciated!
Thanks in Advance!
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
This helped me immensely:
http://www.gratisoft.us/sudo/readme_ldap.html
One caveat I learned is that sudo bundled with some Linux distros is not compiled with LDAP support. You'll have to either recompile a version from the sudo folks or rebuild the package w/ LDAP enabled. Also, not all architectures support 64-bit sudo rpms. For example, ppc64 only supports 32-bit (or, at least, I was unable to rebuild it as 64-bit on SLES10 SP2).
Good luck.
On 1/29/09 3:27 PM, "Paul bob" uask2009@gmail.com wrote:
Hi! I need to give some of ldap users to sudo access. I am not sure how to configure SUDO access in LDAP. Your valuable suggestion appreciated!
Thanks in Advance!
openldap-technical@openldap.org