3
0
Fork 0
forked from mirrors/nixpkgs

* Disable the check on sudoers (NIXOS-66).

svn path=/nixos/trunk/; revision=9438
This commit is contained in:
Eelco Dolstra 2007-10-10 14:28:40 +00:00
parent 2cc89b09e6
commit 6d65f0ae03

View file

@ -147,7 +147,9 @@ import ../helpers/make-etc.nix {
{ src = pkgs.writeText "sudoers-in" (config.get ["security" "sudo" "configFile"]);
}
# Make sure that the sudoers file is syntactically valid.
"${pkgs.sudo}/sbin/visudo -f $src -c && cp $src $out";
# (currently disabled - NIXOS-66)
#"${pkgs.sudo}/sbin/visudo -f $src -c && cp $src $out";
"cp $src $out";
target = "sudoers";
mode = "0440";
})