forked from mirrors/nixpkgs
* Disable the check on sudoers (NIXOS-66).
svn path=/nixos/trunk/; revision=9438
This commit is contained in:
parent
2cc89b09e6
commit
6d65f0ae03
|
@ -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";
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue