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

enable rootless start #491

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

enable rootless start #491

wants to merge 2 commits into from

Conversation

fluktuid
Copy link

fixes #490

@bbernhard
Copy link
Owner

Are you sure this commit is complete? It looks like if there's missing something.

Also shellcheck (https://www.shellcheck.net/) throws a syntax error.

    - rework statemant to be more clear
    - append check of json-rpc mode to rootless part
Copy link
Owner

@bbernhard bbernhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I would prefer to wrap the relevant code parts (usermod, groupmod, etc) in the if block, instead of duplicating the code. Duplicating the code makes it harder to maintain and code can easily be lost (e.g in you code part the WARNING message isn't set in the .bashrc file and the HOST_IP is also not set)

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

Successfully merging this pull request may close these issues.

Enable unprivileged start
2 participants