Dominique Leuenberger 15e1853f66 Accepting request 878135 from systemsmanagement:saltstack
- virt.network_update: handle missing ipv4 netmask attribute
- Added:
  * virt.network_update-handle-missing-ipv4-netmask-attr.patch

- Set distro requirement to oldest supported version in requirements/base.txt
- Added:
  * 3002-set-distro-requirement-to-oldest-supported-vers.patch

- Do not monkey patch yaml loaders: Prevent breaking Ansible filter modules (bsc#1177474)
- Don't require python3-certifi
- Added:
  * do-not-monkey-patch-yaml-bsc-1177474.patch

- Fix race conditions for corner cases when handling SIGTERM by minion (bsc#1172110)
- Added:
  * prevent-race-condition-on-sigterm-for-the-minion-bsc.patch

- Master can read grains (bsc#1179696)

OBS-URL: https://build.opensuse.org/request/show/878135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/salt?expand=0&rev=116
2021-03-12 12:30:19 +00:00

Salt-master as non-root user
============================

With this version of salt the salt-master will run as salt user.

Why an extra user
=================

While the current setup runs the master as root user, this is considered a security issue
and not in line with the other configuration management tools (eg. puppet) which runs as a
dedicated user. 

How can I undo the change
=========================

If you would like to make the change before you can do the following steps manually:
1. change the user parameter in the master configuration
   user: root
2. update the file permissions:
   as root: chown -R root /etc/salt /var/cache/salt /var/log/salt /var/run/salt
3. restart the salt-master daemon:
   as root: rcsalt-master restart or systemctl restart salt-master

NOTE
====

Running the salt-master daemon as a root user is considers by some a security risk, but
running as root, enables the pam external auth system, as this system needs root access to check authentication.

For more information:
http://docs.saltstack.com/en/latest/ref/configuration/nonroot.html
Description
No description provided
Readme 40 MiB
Languages
Shell 91.3%
Makefile 8.7%