You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a case I am facing with milkcheck and i would like your view on an enhancement I made, with a very quick testing (only with remote: yes at the moment). In my case, all checks are being run as root (as usual) but due to security concerns, some tests must be achieved via a specific SIMPLE_USER which is reachable via the root ssh keys.
In a first attempt, I changed the config files to do:
cmd: "su -l %SIMPLE_USER -c 'ls'"
This is not very simple to maintain... In order to be simpler, I wanted to add an option to a service for being run as the SIMPLE_USER.
I did a modification in the code which seems to fit my needs but must be reviewed as I am not at all expert in python...
The text was updated successfully, but these errors were encountered:
Hello,
Here is a case I am facing with milkcheck and i would like your view on an enhancement I made, with a very quick testing (only with
remote: yes
at the moment). In my case, all checks are being run as root (as usual) but due to security concerns, some tests must be achieved via a specificSIMPLE_USER
which is reachable via the root ssh keys.In a first attempt, I changed the config files to do:
This is not very simple to maintain... In order to be simpler, I wanted to add an option to a service for being run as the
SIMPLE_USER
.I did a modification in the code which seems to fit my needs but must be reviewed as I am not at all expert in python...
The text was updated successfully, but these errors were encountered: