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 ACL #270

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Conversation

aleksei-burlakov
Copy link
Contributor

@aleksei-burlakov aleksei-burlakov commented Sep 11, 2023

Basically we partitially revert 793b120
and improve the hawk_invoke so that it works as non-root.

Like in 793b120 we do $ su -c <user>, but instead of running as root we do it under hacluster (the hawk service is running by default under hacluster). And doing hacluster$ su -c <user> (under hacluster) requires the password of the <user> , so we store it in the session variable.

@liangxin1300
Copy link
Contributor

Hi @aleksei-burlakov
I followed your steps on above, it works well.
Nice work! Thanks!

Basically we partitially revert 793b120
but instead of escalating up to the root, we remain as hacluster.
@aleksei-burlakov aleksei-burlakov merged commit dc8c081 into ClusterLabs:master Feb 22, 2024
1 check passed
@aleksei-burlakov aleksei-burlakov deleted the enable-acl branch April 28, 2024 08:34
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.

2 participants