Remove static uid/gid

This commit is contained in:
Philipp Hausmann 2017-03-18 13:54:39 +01:00
parent a44cea1158
commit c904e68e53
2 changed files with 1 additions and 4 deletions

View File

@ -288,7 +288,6 @@
kresd = 270;
rpc = 271;
geoip = 272;
slimserver = 273;
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
@ -546,7 +545,6 @@
kresd = 270;
#rpc = 271; # unused
#geoip = 272; # unused
slimserver = 273;
# When adding a gid, make sure it doesn't match an existing
# uid. Users and groups with the same name should have equal

View File

@ -56,13 +56,12 @@ in {
};
users = {
groups.slimserver.gid = config.ids.gids.slimserver;
users.slimserver = {
uid = config.ids.uids.slimserver;
description = "Slimserver daemon user";
home = cfg.dataDir;
group = "slimserver";
};
groups.slimserver = {};
};
};