Package: wims
Version: 4.01c-4
Severity: important
Hello Georges,
wims preinst do
<<<
groupadd wims || true
useradd --system -d /var/lib/wims -g wims wims
>>>
Debian policy require that adduser be used instead when it is available, and
that this
is done preferably in the postinst:
9.2.2. UID and GID classes
100-999:
Dynamically allocated system users and groups. Packages which
need a user or group, but can have this user or group allocated
dynamically and differently on each system, should use `adduser
--system' to create the group and/or user. `adduser' will check
for the existence of the user or group, and if necessary choose
an unused id based on the ranges specified in `adduser.conf'.
10.9. Permissions and owners:
...
When this has been checked you must arrange for your package to create the
user or group if necessary using `adduser' in the `preinst' or `postinst'
script (again, the latter is to be preferred if it is possible).
Cheers,
--
Bill. <[email protected]>
Imagine a large red swirl here.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]