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
F17373749: D977.id2510.diff
Sat, Dec 13, 14:09
Unknown Object (File)
Wed, Dec 10, 23:00
Unknown Object (File)
Tue, Dec 9, 14:41
Unknown Object (File)
Tue, Dec 9, 08:23
Unknown Object (File)
Mon, Dec 8, 06:42
Unknown Object (File)
Mon, Dec 8, 05:23
Unknown Object (File)
Sun, Dec 7, 12:23
Unknown Object (File)
Sun, Dec 7, 10:34
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