[LEDE-DEV] convention on uid/gid for packages

Val Kulkov val.kulkov at gmail.com
Sat May 13 15:23:29 PDT 2017


Is there any convention on the use of uid and gid when creating new
users or groups? Can someone point me to it, if it exists?

I noticed that two packages, icecast and postfix, compete for the same uid=87:

icecast's Makefile:
  USERID:=icecast=87:icecast=87

postfix's postfix.init:
  user_exists postfix || user_add postfix 87

There may be more packages competing for the same uid/gid's, I have
not fully researched it.

I am preparing a new package, opendkim, which should be run as a
non-privileged user. For this,
USERID:=opendkim=<something>:opendkim=<something> seems appropriate,
but what numbers should I assign?

Val



More information about the Lede-dev mailing list