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
F12431207: D977.diff
Wed, Nov 5, 16:04
F12429794: D977.id2510.diff
Wed, Nov 5, 12:53
F12429743: D977.diff
Wed, Nov 5, 12:43
Unknown Object (File)
Tue, Oct 28, 05:47
Unknown Object (File)
Mon, Oct 27, 09:45
Unknown Object (File)
Sun, Oct 26, 11:38
Unknown Object (File)
Sun, Oct 26, 11:38
Unknown Object (File)
Sun, Oct 26, 04:40
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