system users: use /bin/sh

Just learned about "bash security issue" when reading about rrsync.
This commit is contained in:
Motiejus Jakštys 2023-09-23 22:46:14 +03:00
parent 3b1d1b439f
commit 70e5230611
4 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@
users.users.borgstor = {
description = "Borg Storage";
home = dataDir;
useDefaultShell = true;
shell = "/bin/sh";
group = "borgstor";
isSystemUser = true;
createHome = false;

View File

@ -53,7 +53,7 @@ in {
users.users.deployerbot-main = {
description = "Deployerbot Main";
home = "/var/lib/deployerbot-main";
useDefaultShell = true;
shell = "/bin/sh";
group = "deployerbot-main";
isSystemUser = true;
createHome = true;
@ -122,7 +122,7 @@ in {
deployerbot-follower = {
description = "Deployerbot Follower";
home = "/var/lib/deployerbot-follower";
useDefaultShell = true;
shell = "/bin/sh";
group = "deployerbot-follower";
extraGroups = ["wheel"];
isSystemUser = true;

View File

@ -13,7 +13,7 @@
users.git = {
description = "Gitea Service";
home = "/var/lib/gitea";
useDefaultShell = true;
shell = "/bin/sh";
group = "gitea";
isSystemUser = true;
uid = myData.uidgid.gitea;

View File

@ -77,7 +77,7 @@ in {
users.users.jakstpub = {
description = "Jakstys Public";
home = "/var/empty";
useDefaultShell = true;
shell = "/bin/sh";
group = "jakstpub";
isSystemUser = true;
createHome = false;