Skip to content

Instantly share code, notes, and snippets.

@mjuszczak mjuszczak/sudoers.ldif Secret
Created Nov 23, 2015

What would you like to do?
SUDOers Example LDIF
dn: CN=Sudoers,DC=example,DC=com
objectClass: top
objectClass: container
cn: Sudoers
name: Sudoers
description: Default container for Sudoers configuration
distinguishedName: CN=Sudoers,DC=example,DC=com
# sudo defaults
dn: cn=defaults,CN=Sudoers,DC=example,DC=com
objectClass: top
objectClass: sudoRole
cn: defaults
description: Default sudoOptions go here
sudoOption: env_keep+=SSH_AUTH_SOCK
dn: CN=root,CN=Sudoers,DC=example,DC=com
objectClass: top
objectClass: sudoRole
cn: root
sudoHost: ALL
sudoCommand: ALL
sudoUser: ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.