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
Unknown Object (File)
Tue, Dec 10, 12:06
Unknown Object (File)
Sun, Dec 8, 06:58
Unknown Object (File)
Sat, Dec 7, 05:37
Unknown Object (File)
Mon, Dec 2, 14:58
Unknown Object (File)
Fri, Nov 22, 19:49
Unknown Object (File)
Nov 20 2024, 15:26
Unknown Object (File)
Nov 17 2024, 22:00
Unknown Object (File)
Nov 17 2024, 20:21
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