diff options
author | 2021-11-11 11:46:20 +0100 | |
---|---|---|
committer | 2021-11-11 11:46:20 +0100 | |
commit | 00c33ca0ad587cd1d0097c20eb3f5bb966c6153f (patch) | |
tree | bb2323b1c7bb009668d3c170257ad1c2f3ddd900 /bin | |
parent | repositories: add okh overlay (diff) | |
download | api-00c33ca0ad587cd1d0097c20eb3f5bb966c6153f.tar.gz api-00c33ca0ad587cd1d0097c20eb3f5bb966c6153f.tar.bz2 api-00c33ca0ad587cd1d0097c20eb3f5bb966c6153f.zip |
used_free_uidgids.sh: Don't recommend ids below 100
By QA policy, these ids require explicit approval by the QA lead:
https://projects.gentoo.org/qa/policy-guide/user-group.html#pg0901
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/used_free_uidgids.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/used_free_uidgids.sh b/bin/used_free_uidgids.sh index 24eafece..bbc04e9c 100755 --- a/bin/used_free_uidgids.sh +++ b/bin/used_free_uidgids.sh @@ -11,6 +11,7 @@ # from. Can be set to - to go maximum possible 32-bit value. # debug => if non-zero outputs some cryptic debug output (will inherit from environment). # +min=101 max=499 debug=${debug:+1} # set non-zero to enable debug output. @@ -171,7 +172,7 @@ fi ui=0 # index into uids array. gi=0 # index into gids array. -idbase=0 # "start" of range about to be output. +idbase=${min} # "start" of range about to be output. freeuid=0 # count number of free UIDs freegid=0 # count number of free GIDs freepair=0 # count number of free UID+GID pairs. |