* fix ldap config file path for sudo-ldap package, including creating
a symlink in postinst and cleaning it up in postrm for the sudo-ldap
package, closes: #430826
+ * fix NOPASSWD entry location in default config file for the sudo-ldap
+ instance too, closes: #479616
-- Bdale Garbee <bdale@gag.com> Sat, 28 Mar 2009 06:37:55 -0600
"#\n",
"# See the man page for details on how to write a sudoers file.\n",
"#\n\nDefaults\tenv_reset\n\n",
- "# Uncomment to allow members of group sudo to not need a password\n",
- "# %sudo ALL=NOPASSWD: ALL\n\n",
"# Host alias specification\n\n",
"# User alias specification\n\n",
"# Cmnd alias specification\n\n",
- "# User privilege specification\nroot\tALL=(ALL) ALL\n";
+ "# User privilege specification\nroot\tALL=(ALL) ALL\n\n",
+ "# 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";
close SUDOERS;
}