Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] mkusers: create system users/groups below UID/GID 1000
@ 2017-02-09 13:43 Pascal de Bruijn
  2017-03-05 22:26 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal de Bruijn @ 2017-02-09 13:43 UTC (permalink / raw)
  To: buildroot

Try not to create users/groups past UID/GID 1000, as this space
is usually reserved for proper user/group accounts.

Change buildroot behaviour to be similar to distros (like Debian)
where UID/GID 101-999 are used for dynamic allocation to system
service accounts.

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
---
 support/scripts/mkusers | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/support/scripts/mkusers b/support/scripts/mkusers
index d834578..c9f31fc 100755
--- a/support/scripts/mkusers
+++ b/support/scripts/mkusers
@@ -4,10 +4,10 @@ myname="${0##*/}"
 
 #----------------------------------------------------------------------------
 # Configurable items
-MIN_UID=1000
-MAX_UID=1999
-MIN_GID=1000
-MAX_GID=1999
+MIN_UID=101
+MAX_UID=999
+MIN_GID=101
+MAX_GID=999
 # No more is configurable below this point
 #----------------------------------------------------------------------------
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-05 22:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09 13:43 [Buildroot] [PATCH] mkusers: create system users/groups below UID/GID 1000 Pascal de Bruijn
2017-03-05 22:26 ` Yann E. MORIN
2017-03-05 22:35   ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox