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
F6962678: D977.diff
Fri, Apr 18, 05:45
Unknown Object (File)
Tue, Apr 8, 12:44
Unknown Object (File)
Sat, Apr 5, 20:05
Unknown Object (File)
Sat, Apr 5, 15:57
Unknown Object (File)
Sat, Apr 5, 13:55
Unknown Object (File)
Fri, Apr 4, 15:48
Unknown Object (File)
Fri, Apr 4, 08:56
Unknown Object (File)
Wed, Apr 2, 17:49
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