+sudo (1.7.2-3) UNRELEASED; urgency=low
+
+ * add support for /etc/sudoers.d using #includedir in default sudoers,
+ closes: #539994
+
+ -- Bdale Garbee <bdale@gag.com> Mon, 31 Aug 2009 12:08:04 -0600
+
sudo (1.7.2-2) unstable; urgency=low
* further improve initial sudoers to not include the NOPASSWD option on
"# 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=(ALL) ALL\n";
+ "%sudo ALL=(ALL) ALL\n",
+ "#\n",
+ "#includedir /etc/sudoers.d\n";
close SUDOERS;
}
system ('chown root:root /etc/sudoers');
system ('chmod 440 /etc/sudoers');
-# do a remove first to un-do "bad" links created by previous versions
+# must do a remove first to un-do the "bad" links created by previous version
system ('update-rc.d -f sudo remove >/dev/null 2>&1');
system ('update-rc.d sudo start 75 S . >/dev/null');
"# 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=(ALL) ALL\n";
+ "%sudo ALL=(ALL) ALL\n",
+ "#\n",
+ "#includedir /etc/sudoers.d\n";
close SUDOERS;
}