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

Require root to run ipa-healthcheck #267

Merged
merged 1 commit into from
Apr 6, 2023
Merged

Conversation

rcritten
Copy link
Collaborator

The vast majority of checks require root access so enforce
it at run time.

This won't affect other runtimes that use healthcheck-core.

Fixes: #148

Signed-off-by: Rob Crittenden [email protected]

Copy link
Contributor

@flo-renaud flo-renaud left a comment

Choose a reason for hiding this comment

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

Hi @rcritten
thanks for the PR, LGTM. You may add a note in the man page to state that the command needs to be run as root

@flo-renaud flo-renaud self-assigned this Jun 21, 2022
The vast majority of checks require root access so enforce
it at run time.

This won't affect other runtimes that use healthcheck-core.

Fixes: freeipa#148

Signed-off-by: Rob Crittenden <[email protected]>
Copy link
Contributor

@flo-renaud flo-renaud left a comment

Choose a reason for hiding this comment

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

@rcritten
thanks for the updated man page. LGTM.

@rcritten rcritten merged commit fa6b7ca into freeipa:master Apr 6, 2023
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.

Display WARNING when ipa-healtcheck tool is run as normal linux user.
2 participants