Page MenuHomeDevCentral

Allow salt group to run salt-call as root
ClosedPublic

Authored by dereckson on Apr 28 2017, 16:12.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 18, 14:05
Unknown Object (File)
Sat, May 18, 13:03
Unknown Object (File)
Sat, May 18, 05:58
Unknown Object (File)
Mon, May 13, 21:16
Unknown Object (File)
Mon, May 13, 19:18
Unknown Object (File)
Mon, May 13, 16:01
Unknown Object (File)
Mon, May 13, 10:48
Unknown Object (File)
Sun, May 12, 19:56
Subscribers
None

Details

Summary

By default, salt-call runs to the current user. As such, we should
allow to use as root to avoid to first have to touch files/directory,
then to .

Furthermore, it's not convenient to install packages or chown.

Security implication is salt group's members have a root access
to the Salt master too, currently Ysul, in addition to other servers.

Ref. T795.

Test Plan

sudo salt-call --local test.ping

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable