Allocate system uids/gids between 400 and 500

Previously it was between 100 and 500, but this can already collide
with the static uids/guid in misc/ids.nix.
This commit is contained in:
Eelco Dolstra 2014-04-29 10:45:06 +02:00
parent 05468f9b78
commit 0e23a175de
2 changed files with 6 additions and 6 deletions

View File

@ -129,10 +129,10 @@
foundationdb = 118;
newrelic = 119;
starbound = 120;
hydra = 122;
spiped = 123;
hydra = 122;
spiped = 123;
# When adding a uid, make sure it doesn't match an existing gid.
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
nixbld = 30000; # start of range of uids
nobody = 65534;
@ -237,7 +237,7 @@
hydra = 122;
spiped = 123;
# When adding a gid, make sure it doesn't match an existing uid.
# When adding a gid, make sure it doesn't match an existing uid. And don't use gids above 399!
users = 100;
nixbld = 30000;

View File

@ -10,12 +10,12 @@ let
''
DEFAULT_HOME yes
SYS_UID_MIN 100
SYS_UID_MIN 400
SYS_UID_MAX 499
UID_MIN 1000
UID_MAX 29999
SYS_GID_MIN 100
SYS_GID_MIN 400
SYS_GID_MAX 499
GID_MIN 1000
GID_MAX 29999