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:
parent
05468f9b78
commit
0e23a175de
@ -129,10 +129,10 @@
|
|||||||
foundationdb = 118;
|
foundationdb = 118;
|
||||||
newrelic = 119;
|
newrelic = 119;
|
||||||
starbound = 120;
|
starbound = 120;
|
||||||
hydra = 122;
|
hydra = 122;
|
||||||
spiped = 123;
|
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
|
nixbld = 30000; # start of range of uids
|
||||||
nobody = 65534;
|
nobody = 65534;
|
||||||
@ -237,7 +237,7 @@
|
|||||||
hydra = 122;
|
hydra = 122;
|
||||||
spiped = 123;
|
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;
|
users = 100;
|
||||||
nixbld = 30000;
|
nixbld = 30000;
|
||||||
|
@ -10,12 +10,12 @@ let
|
|||||||
''
|
''
|
||||||
DEFAULT_HOME yes
|
DEFAULT_HOME yes
|
||||||
|
|
||||||
SYS_UID_MIN 100
|
SYS_UID_MIN 400
|
||||||
SYS_UID_MAX 499
|
SYS_UID_MAX 499
|
||||||
UID_MIN 1000
|
UID_MIN 1000
|
||||||
UID_MAX 29999
|
UID_MAX 29999
|
||||||
|
|
||||||
SYS_GID_MIN 100
|
SYS_GID_MIN 400
|
||||||
SYS_GID_MAX 499
|
SYS_GID_MAX 499
|
||||||
GID_MIN 1000
|
GID_MIN 1000
|
||||||
GID_MAX 29999
|
GID_MAX 29999
|
||||||
|
Loading…
x
Reference in New Issue
Block a user