[FEATURE REQUEST] Allow salt-run as non-root/salt user
#67707
Replies: 5 comments
-
|
Been over a year, any update on this? |
Beta Was this translation helpful? Give feedback.
-
|
+1 it should not be this painful to run salt with best practices (non-root) |
Beta Was this translation helpful? Give feedback.
-
|
You can already run salt as a non-root user, you just have to configure a couple directories to be in a non-root location. |
Beta Was this translation helpful? Give feedback.
-
|
@Akm0d Salt is already running under its dedicated user, but the problem is calling |
Beta Was this translation helpful? Give feedback.
-
|
Already followed the documentation for running the salt-master as non-root. I have set up a all |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Using the
publisher_aclfeature it is possible to grant non-root users access to thesaltcommand. This is really useful. However such users have no way of looking up job history or job results from thesaltcommands they initiated using thesalt-run jobs.lookup_jid ...command, becausesalt-rundoes not follow thepublisher_aclsetting.Describe the solution you'd like
salt-runshould be delegatable to non-root users similar to how it is possible withsalt.Describe alternatives you've considered
It is possible to use tools like
sudoto grant access to commands as a workaround, however it should not be necessary just forsalt-run, especially if the user already has access tosaltand the respective directories.Additional context
Beta Was this translation helpful? Give feedback.
All reactions