echo "WARNING: /etc/sudoers not present!";
fi
+# modify nsswitch.conf if needed
+NSSWITCH="/etc/nsswitch.conf"
+if [ -z "`grep \"^sudoers:\" $NSSWITCH`" ]
+then
+ echo "sudoers: files ldap" >> $NSSWITCH
+fi
+
# handle state directory transition from /var/run/sudo to /var/lib/sudo,
# moving any existing content over to avoid re-lecturing existing users
if [ -d "/var/run/sudo" ];then