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)
Thu, Feb 20, 19:34
Unknown Object (File)
Tue, Feb 18, 11:21
Unknown Object (File)
Sun, Feb 2, 14:55
Unknown Object (File)
Fri, Jan 31, 12:30
Unknown Object (File)
Sun, Jan 26, 08:07
Unknown Object (File)
Sat, Jan 25, 10:06
Unknown Object (File)
Jan 23 2025, 15:42
Unknown Object (File)
Jan 19 2025, 12:32
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