diff options
author | Parnell Springmeyer <parnell@awakenetworks.com> | 2016-07-15 19:10:48 -0500 |
---|---|---|
committer | Parnell Springmeyer <parnell@awakenetworks.com> | 2016-09-01 19:17:43 -0500 |
commit | 390ab0b3eff809052d5b9d9b5335413b36898481 (patch) | |
tree | 15700959b5c568cff51e2e8abafed931bff7e6dd /nixos/modules/services/mail | |
parent | 81b33eb46645b1bd3ab5029c0ca2012a24902bb0 (diff) | |
download | nixlib-390ab0b3eff809052d5b9d9b5335413b36898481.tar nixlib-390ab0b3eff809052d5b9d9b5335413b36898481.tar.gz nixlib-390ab0b3eff809052d5b9d9b5335413b36898481.tar.bz2 nixlib-390ab0b3eff809052d5b9d9b5335413b36898481.tar.lz nixlib-390ab0b3eff809052d5b9d9b5335413b36898481.tar.xz nixlib-390ab0b3eff809052d5b9d9b5335413b36898481.tar.zst nixlib-390ab0b3eff809052d5b9d9b5335413b36898481.zip |
everything?: Updating every package that depended on the old setuidPrograms configuration.
Diffstat (limited to 'nixos/modules/services/mail')
-rw-r--r-- | nixos/modules/services/mail/exim.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/exim.nix b/nixos/modules/services/mail/exim.nix index e0890d96a88b..aad497cbc719 100644 --- a/nixos/modules/services/mail/exim.nix +++ b/nixos/modules/services/mail/exim.nix @@ -89,7 +89,15 @@ in gid = config.ids.gids.exim; }; - security.setuidPrograms = [ "exim" ]; + security.permissionsWrappers.setuid = + [ + { program = "exim"; + source = "${pkgs.exim.out}/bin/exim"; + user = "root"; + group = "root"; + setuid = true; + } + ] systemd.services.exim = { description = "Exim Mail Daemon"; |