sudo: use Theo de Raadt's quote list for insults
Signed-off-by: faukah <fau@faukah.com> Change-Id: I6a6a69642a62454277434355a51bfa46492c8af3
This commit is contained in:
parent
ba990d25e1
commit
f0d3993af5
2 changed files with 996 additions and 1 deletions
|
@ -13,7 +13,9 @@ in
|
|||
enable = true;
|
||||
# We use the default sudo package, but with insults if we
|
||||
# fail to provide the correct password
|
||||
package = pkgs.sudo.override { withInsults = true; };
|
||||
package = (pkgs.sudo.override { withInsults = true; }).overrideAttrs (_: {
|
||||
patches = [ ./insults.patch ];
|
||||
});
|
||||
|
||||
# Wheel user should need the password to execute sudo commands
|
||||
wheelNeedsPassword = mkDefault true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue