summaryrefslogtreecommitdiffstats
path: root/lass/3modules/usershadow.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-08 11:30:42 +0100
committerlassulus <lassulus@lassul.us>2021-12-08 11:30:42 +0100
commit813e29c498ca3f7a93dcf47af7e485c716f7b08f (patch)
treeb123b9193f5c2f18e1219325490370a1194e91bd /lass/3modules/usershadow.nix
parent0f3c4547f9e0d3c4fc9bd32c056aa76e9e2277f1 (diff)
l usershadow: setuid for verify commands
Diffstat (limited to 'lass/3modules/usershadow.nix')
-rw-r--r--lass/3modules/usershadow.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/lass/3modules/usershadow.nix b/lass/3modules/usershadow.nix
index b1011ced0..094d37a36 100644
--- a/lass/3modules/usershadow.nix
+++ b/lass/3modules/usershadow.nix
@@ -36,11 +36,13 @@
'';
security.wrappers.shadow_verify_pam = {
+ setuid = true;
source = "${usershadow}/bin/verify_pam";
owner = "root";
group = "root";
};
security.wrappers.shadow_verify_arg = {
+ setuid = true;
source = "${usershadow}/bin/verify_arg";
owner = "root";
group = "root";