system("ln -s ldap/ldap.conf /etc/sudo-ldap.conf");
}
+# if we've gotten this far .. remove the saved, unchanged old sudoers file
+system ('rm -f /etc/sudoers.pre-conffile');
+
# make sure we have a sudo group
exit 0 if getgrnam("sudo"); # we're finished if there is a group sudo
print "Creating group 'sudo' with gid = $gid\n";
system("groupadd -g $gid sudo");
-# if we've gotten this far .. remove the saved, unchanged old sudoers file
-system ('rm -f /etc/sudoers.pre-conffile');
-
print "";
system ('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
+system ('rm -f /etc/sudoers.pre-conffile');
+
# make sure we have a sudo group
exit 0 if getgrnam("sudo"); # we're finished if there is a group sudo
print "Creating group 'sudo' with gid = $gid\n";
system("groupadd -g $gid sudo");
-# if we've gotten this far .. remove the saved, unchanged old sudoers file
-system ('rm -f /etc/sudoers.pre-conffile');
-
print "";