2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Mention how to dump sudoers info from LDAP.

This commit is contained in:
Todd C. Miller 2013-12-02 16:00:15 -07:00
parent b082a614f5
commit dc69e5af57

View File

@ -122,6 +122,11 @@ file to your LDAP Administrator.
# ldapadd -f /tmp/sudoers.ldif -h ldapserver \ # ldapadd -f /tmp/sudoers.ldif -h ldapserver \
-D cn=Manager,dc=example,dc=com -W -x -D cn=Manager,dc=example,dc=com -W -x
Step 3:
Verify the sudoers LDAP data:
# ldapsearch -b "$SUDOERS_BASE" -D cn=Manager,dc=example,dc=com -W -x
Managing LDAP entries Managing LDAP entries
===================== =====================
Doing a one-time bulk load of your ldap entries is fine. However what if you Doing a one-time bulk load of your ldap entries is fine. However what if you