Cumin version | 3.0.2 |
Python version | 3.5.3 |
Operating System | Debian stretch 9.8 |
Issue:
Cumin currently checks its running user at startup to make sure it's running as root. Yet it seems to be perfectly capable of running as a regular user in my tests.
Is there any reason why Cumin shouldn't be runnable from regular users? It doesn't seem to give any additional privileges in itself: if a user doesn't have access to (say) the PuppetDB server or target SSH servers, Cumin won't work anyways...
I made this simple patch to disable the check:
https://github.com/anarcat/cumin/commit/95579eeeee34953e75f03cf81069a4347cb870de.patch
I'd be happy to submit it to Gerrit once I figure out how *that* works...