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
F6468966: D977.id.diff
Fri, Mar 28, 07:45
Unknown Object (File)
Wed, Mar 26, 09:26
Unknown Object (File)
Tue, Mar 25, 06:59
Unknown Object (File)
Thu, Mar 20, 11:37
Unknown Object (File)
Thu, Mar 20, 06:15
Unknown Object (File)
Tue, Mar 18, 08:42
Unknown Object (File)
Tue, Mar 18, 03:30
Unknown Object (File)
Tue, Mar 18, 03:30
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