fixup! WIP: temmie/userweb: inject users from passwd into httpd sandbox

This commit is contained in:
h7x4
2026-06-07 01:45:59 +09:00
parent e3e4e298be
commit a5bec764f7
2 changed files with 7 additions and 9 deletions
+3 -5
View File
@@ -312,13 +312,11 @@ in
group-file = "/run/httpd/pamunix-sync/group";
output-dir = "/run/httpd/systemd-userdb";
shadow-file = pkgs.emptyFile;
email-domain = "pvv.ntnu.no";
output-passwd = true;
ignore-user-file = toString ./ignore_user_file.txt;
ignore-group-file = toString ./ignore_group_file.txt;
set-default-umask = "0077";
set-default-mount-no-devices = "true";
set-default-mount-no-suid = "true";
set-default-mount-no-execute = "false";
};
in ''${lib.getExe pkgs.passwd2systemd-users} ${args}'')
"${lib.getExe' pkgs.coreutils "shred"} -u /run/httpd/pamunix-sync/passwd /run/httpd/pamunix-sync/group"