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
F3752269: D977.id2498.diff
Sun, Nov 17, 17:50
F3752080: D977.diff
Sun, Nov 17, 15:31
F3750362: D977.id2510.diff
Sat, Nov 16, 23:56
F3750361: D977.id2498.diff
Sat, Nov 16, 23:56
F3750360: D977.id2497.diff
Sat, Nov 16, 23:56
F3750316: D977.id.diff
Sat, Nov 16, 23:42
F3750268: D977.diff
Sat, Nov 16, 23:28
Unknown Object (File)
Sat, Nov 16, 00: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 1522
Build 1770: arc lint + arc unit