commit: 00c33ca0ad587cd1d0097c20eb3f5bb966c6153f Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Thu Nov 11 10:46:20 2021 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Thu Nov 11 10:46:20 2021 +0000 URL: https://gitweb.gentoo.org/data/api.git/commit/?id=00c33ca0
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 <AT> gentoo.org> bin/used_free_uidgids.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/used_free_uidgids.sh b/bin/used_free_uidgids.sh index 24eafec..bbc04e9 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.
