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
F51449828: D977.id2510.diff
Fri, Sep 25, 16:38
F51449809: D977.id2498.diff
Fri, Sep 25, 16:38
F51449640: D977.diff
Fri, Sep 25, 16:36
F51434123: D977.id2497.diff
Fri, Sep 25, 13:48
Unknown Object (File)
Tue, Sep 22, 07:12
Unknown Object (File)
Sat, Sep 19, 23:38
Unknown Object (File)
Sat, Sep 19, 13:13
Unknown Object (File)
Sat, Sep 19, 13:10
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