[Nix-dev] Make sg setuid-wrapped like su
rixed at happyleptic.org
rixed at happyleptic.org
Fri Nov 26 20:06:20 CET 2010
Here is a patch for that so that we can use "sg" to switch group.
-------------- next part --------------
Index: modules/programs/shadow.nix
===================================================================
--- modules/programs/shadow.nix (revision 24620)
+++ modules/programs/shadow.nix (working copy)
@@ -92,7 +92,7 @@
}
];
- security.setuidPrograms = [ "passwd" "chfn" "su" ];
+ security.setuidPrograms = [ "passwd" "chfn" "su" "sg" ];
};
More information about the nix-dev
mailing list