Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adduser not available for some distro #5

Closed
Lynxiayel opened this issue Mar 31, 2020 · 2 comments
Closed

adduser not available for some distro #5

Lynxiayel opened this issue Mar 31, 2020 · 2 comments

Comments

@Lynxiayel
Copy link

the makefile uses adduser --system --no-create-home --group mercury to add a new user mercury and create a same-named group.

adduser is an actual alias for useradd and may not be available in some linux distros (eg. OpenSUSE). This will cause make install to fail.

The equivalent command should be useradd --system --user-group mercury in these distros.

@davidmcgrew
Copy link
Member

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.

@davidmcgrew
Copy link
Member

src/Makefile.in and the .deb/.rpm package builder both switched over to useradd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants