Closed Lynxiayel closed 3 years ago
Thanks for reporting this. It looks like useradd is present on Debian/Ubuntu and CentOS, so I will go ahead and switch from adduser, once I have tested the change.
src/Makefile.in and the .deb/.rpm package builder both switched over to useradd.
the makefile uses
adduser --system --no-create-home --group mercury
to add a new usermercury
and create a same-named group.adduser
is an actual alias foruseradd
and may not be available in some linux distros (eg. OpenSUSE). This will causemake install
to fail.The equivalent command should be
useradd --system --user-group mercury
in these distros.