Only to point that adduser is the recommended way to handle accounts in maintainer scripts [1] and Debian Code Search reports 267 packages using it [2], but dh_sysusers [3] seems to handle the same task on the packages and works with useradd under the hood too.

[1] - https://wiki.debian.org/AccountHandlingInMaintainerScripts
[2] - https://codesearch.debian.net/search?q=path%3Adebian%2F*postinst+adduser&literal=1&perpkg=1 [3] - https://manpages.debian.org/testing/dh-sysuser/dh_sysuser.1.en.html


Regards,
Ricardo F.

Reply via email to