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
F11655207: D977.id.diff
Sat, Sep 6, 14:12
Unknown Object (File)
Fri, Sep 5, 05:24
Unknown Object (File)
Mon, Sep 1, 07:22
Unknown Object (File)
Mon, Sep 1, 06:53
Unknown Object (File)
Sat, Aug 30, 13:09
Unknown Object (File)
Fri, Aug 29, 14:51
Unknown Object (File)
Wed, Aug 27, 08:26
Unknown Object (File)
Tue, Aug 26, 18:34
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