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

Match Foreman user to what packaging creates #971

Merged
merged 2 commits into from
Jul 15, 2021

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jul 9, 2021

Match the user shell to packaging

In dcb8a70 the shell was changed from /sbin/nologin to /bin/false since on Debian it is /usr/sbin/nologin.

Technically we can now always use /usr/sbin/nologin since on EL7 /sbin is a symlink to /usr/sbin, but that doesn't match packaging. Aligning this to packaging means there's one step that no longer needs to happen during installation.

The parameter is not exposed in init.pp since most users won't care about this (in the past 6 years no PR has been submitted to do so).

Make Foreman a system user and group

This matches what the RPM and Debian packages already do so it should have no effect in reality, but it does align the two.

ekohl added 2 commits July 9, 2021 17:49
This matches what the RPM and Debian packages already do so it should
have no effect in reality, but it does align the two.
In dcb8a70 the shell was changed from
/sbin/nologin to /bin/false since on Debian it is /usr/sbin/nologin.

Technically we can now always use /usr/sbin/nologin since on EL7
/sbin is a symlink to /usr/sbin, but that doesn't match packaging.
Aligning this to packaging means there's one step that no longer needs
to happen during installation.

The parameter is not exposed in init.pp since most users won't care
about this (in the past 6 years no PR has been submitted to do so).
@ehelms ehelms merged commit fde6558 into theforeman:master Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants