Instead of assigning a specific UID and GID, we could use the
following commands when creating the system users (FYI I use a similar
construct for my pkg-user pkg manager). This way we don't need to hard
code values for each user/group and it is guaranteed to not clash with
any existing UID/GID:
groupadd -K GID_MIN=20 -K GID_MAX=100 <GROUP_NAME>
useradd -K UID_MIN=20 -K UID_MAX=100 -g <GROUP_NAME> <USER_NAME>
--
Tushar Teredesai
mailto:[EMAIL PROTECTED]
http://www.linuxfromscratch.org/~tushar/
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page