chown root:root /etc/sudoers
chmod 440 /etc/sudoers
-update-rc.d -f sudo-ldap remove >/dev/null 2>&1
-
-update-rc.d sudo-ldap start 75 2 3 4 5 . >/dev/null
-
# create symlink to ease transition to new path for ldap config
# if old config file exists and new one doesn't
if [ -e /etc/ldap/ldap.conf -a ! -e /etc/sudo-ldap.conf ];then
chown root:root /etc/sudoers
chmod 440 /etc/sudoers
-update-rc.d -f sudo remove >/dev/null 2>&1
-
-update-rc.d sudo start 75 2 3 4 5 . >/dev/null
-
# if we've gotten this far .. remove the saved, unchanged old sudoers file
rm -f /etc/sudoers.pre-conffile