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
F12339219: D977.id2510.diff
Sun, Oct 26, 11:38
F12339215: D977.id2498.diff
Sun, Oct 26, 11:38
F12338062: D977.id2497.diff
Sun, Oct 26, 04:40
F12337715: D977.id2510.diff
Sun, Oct 26, 03:24
Unknown Object (File)
Sat, Oct 25, 06:18
Unknown Object (File)
Wed, Oct 22, 01:22
Unknown Object (File)
Mon, Oct 20, 13:52
Unknown Object (File)
Mon, Oct 20, 13: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 Not Applicable
Unit
Tests Not Applicable