sudo (1.7.2-1) UNRELEASED; urgency=low
* new upstream version, closes: #537103
+ * improve initial sudoers commented-out example, closes: #536220
+ * fix update-rc.d call to create correct sudo-ldap link, closes: #387880
-- Bdale Garbee <bdale@gag.com> Wed, 15 Jul 2009 00:52:27 -0600
"# Uncomment to allow members of group sudo to not need a password\n",
"# (Note that later entries override this, so you might need to move\n",
"# it further down)\n",
- "# %sudo ALL=NOPASSWD: ALL\n";
+ "# %sudo ALL=(ALL) NOPASSWD: ALL\n";
close SUDOERS;
}
system ('chown root:root /etc/sudoers');
system ('chmod 440 /etc/sudoers');
-# must do a remove first to un-do the "bad" links created by previous version
+# do a remove first to un-do "bad" links created by previous versions
system ('update-rc.d -f sudo remove >/dev/null 2>&1');
-system ('update-rc.d sudo start 75 S . >/dev/null');
+system ('update-rc.d sudo-ldap start 75 S . >/dev/null');
# make sure we have a sudo group
"# Uncomment to allow members of group sudo to not need a password\n",
"# (Note that later entries override this, so you might need to move\n",
"# it further down)\n",
- "# %sudo ALL=NOPASSWD: ALL\n";
+ "# %sudo ALL=(ALL) NOPASSWD: ALL\n";
close SUDOERS;
}