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
F34209594: D977.id2510.diff
Fri, Jun 26, 16:39
Unknown Object (File)
Thu, Jun 25, 16:06
Unknown Object (File)
Wed, Jun 24, 16:04
Unknown Object (File)
Tue, Jun 23, 15:59
Unknown Object (File)
Mon, Jun 22, 16:14
Unknown Object (File)
Sun, Jun 21, 10:10
Unknown Object (File)
Sat, Jun 20, 23:31
Unknown Object (File)
Fri, Jun 19, 19:29
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