Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse Salt publisher ACL system to allow Salt usage without root access #657
Comments
|
Oh, this is very interesting! I think that there are a few things that you could easily have people do (mainly pushing out updates, paving the "build" directory, and rebooting the machine) that would get us like 99% of the admin stuff that we need. Awesome! Maybe restarting buildbot/homu, too :-) |
|
cc @metajack |
|
Rebooting is Restarting Homu should just be |
|
+1 from me |
|
I tried this on my own infrastructure, and I don't think Salt's Details: |
Salt allows somewhat pluggable authentication systems. One of these is their publisher ACL system (docs: https://docs.saltstack.com/en/2016.3/ref/publisheracl.html), which allows local users to execute Salt commands without having root access. I think implementing this would help us lock down our systems - I think we could likely give out Salt-only access instead of root access via SSH (should help with #628).
It seems to allow restricting which Salt functions are available, which is also nice.
I haven't used this myself yet, so likely would like to play around with it first.
cc @edunham @larsbergstrom