mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Adapting everything for the merged permissions wrappers work.
This commit is contained in:
parent
390ab0b3ef
commit
98c058a1ee
55 changed files with 162 additions and 131 deletions
|
@ -102,18 +102,18 @@ in
|
|||
chgpasswd = { rootOK = true; };
|
||||
};
|
||||
|
||||
security.setuidPrograms =
|
||||
security.permissionsWrappers.setuid =
|
||||
[
|
||||
{ program = "su";
|
||||
source = "${pkgs.shadow.su}/bin/su";
|
||||
user = "root";
|
||||
owner = "root";
|
||||
group = "root";
|
||||
setuid = true;
|
||||
}
|
||||
|
||||
{ program = "chfn";
|
||||
source = "${pkgs.shadow.out}/bin/chfn";
|
||||
user = "root";
|
||||
owner = "root";
|
||||
group = "root";
|
||||
setuid = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue