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
F21130943: D977.id.diff
Fri, Jan 16, 23:39
Unknown Object (File)
Fri, Jan 16, 13:35
Unknown Object (File)
Thu, Jan 15, 22:25
Unknown Object (File)
Mon, Jan 12, 08:10
Unknown Object (File)
Mon, Jan 12, 08:10
Unknown Object (File)
Mon, Jan 12, 08:10
Unknown Object (File)
Sun, Jan 11, 19:03
Unknown Object (File)
Sat, Jan 10, 06:02
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 Passed
Unit
No Test Coverage
Branch
allow-salt-call-as-root (branched from master)
Build Status
Buildable 1523
Build 1771: arc lint + arc unit