cvtsudoers instead of sudoers2ldif
This commit is contained in:
@@ -106,13 +106,12 @@ For instance, if using OpenLDAP:
|
|||||||
objectClass: organizationalUnit
|
objectClass: organizationalUnit
|
||||||
ou: SUDOers
|
ou: SUDOers
|
||||||
|
|
||||||
(An example location is shown below). Then use the provided script to convert
|
(An example location is shown below). Then use the cvtsudoers utility to
|
||||||
your sudoers file into LDIF format. The script will also convert any default
|
convert your sudoers file into LDIF format.
|
||||||
options.
|
|
||||||
|
|
||||||
# SUDOERS_BASE=ou=SUDOers,dc=example,dc=com
|
# SUDOERS_BASE=ou=SUDOers,dc=example,dc=com
|
||||||
# export SUDOERS_BASE
|
# export SUDOERS_BASE
|
||||||
# ./sudoers2ldif /etc/sudoers > /tmp/sudoers.ldif
|
# cvtsudoers -f ldif -o /tmp/sudoers.ldif /etc/sudoers
|
||||||
|
|
||||||
Step 2:
|
Step 2:
|
||||||
Import into your directory server. The following example is for
|
Import into your directory server. The following example is for
|
||||||
|
Reference in New Issue
Block a user