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
F48012295: D977.id.diff
Thu, Sep 3, 20:39
F47869783: D977.diff
Wed, Sep 2, 23:06
Unknown Object (File)
Wed, Sep 2, 20:45
Unknown Object (File)
Wed, Sep 2, 18:18
Unknown Object (File)
Wed, Sep 2, 11:51
Unknown Object (File)
Sun, Aug 30, 15:59
Unknown Object (File)
Wed, Aug 26, 23:48
Unknown Object (File)
Mon, Aug 24, 11:24
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