Bo Maryniuk 3a149b0009 Add API log rotation on SUSE package vor 6 Jahren
..
README.suse 031a75ca33 Merge branch '2015.8' into '2016.3' vor 8 Jahren
allow-systemd-parameterized-services.patch d9bfda2dcd This fixes two issues #14337 and #13788 vor 10 Jahren
allow-systemd-units-no-unit-files.patch 89dcb66310 Fix the wrong "allow to do" phrase vor 9 Jahren
disable-service-py-for-suse-family.patch bcd6a1cd77 fix osfamily from Suse to SUSE vor 8 Jahren
fix-service-py-version-parsing-sles.patch bcd6a1cd77 fix osfamily from Suse to SUSE vor 8 Jahren
pass-all-systemd-list-units.patch d9bfda2dcd This fixes two issues #14337 and #13788 vor 10 Jahren
salt-api 8da9e9a116 updated suse spec file vor 11 Jahren
salt-api.changes bcd6a1cd77 fix osfamily from Suse to SUSE vor 8 Jahren
salt-api.service 530ddd2d29 Set SHELL environment variable vor 6 Jahren
salt-api.spec a4e2da99a8 updated suse spec file for salt-api 0.8.3 vor 11 Jahren
salt-common.logrotate 3a149b0009 Add API log rotation on SUSE package vor 6 Jahren
salt-master de6ec05ec0 add try-restart to fix autorestarting on SUSE systems vor 8 Jahren
salt-master.service efe308013a Align SUSE salt-master.service 'LimitNOFILES' limit with upstream Salt vor 6 Jahren
salt-minion 30b12da58b Enables salt-minion watchdog on init.d script for sysV vor 7 Jahren
salt-minion.service a177d7f0a1 salt-minion.service: Start after salt-master.service vor 7 Jahren
salt-minion.service.rhel7 db295f6f06 special salt-minion.service file for rhel7 vor 7 Jahren
salt-syndic de6ec05ec0 add try-restart to fix autorestarting on SUSE systems vor 8 Jahren
salt-tmpfiles.d 8d796e6732 update suse spec file to 2015.8.1 vor 9 Jahren
salt.SuSEfirewall2 4f00fa256b Fixed occurances of "Salt Stack" to SaltStack vor 11 Jahren
salt.changes 8d1e1e7f94 Merge branch '2017.7' into '2018.3' vor 6 Jahren
salt.spec 8d796e6732 update suse spec file to 2015.8.1 vor 9 Jahren
use-forking-daemon.patch f6d9cdc633 Merge branch '2015.8' into '2016.3' vor 8 Jahren
use-salt-user-for-master.patch 8d796e6732 update suse spec file to 2015.8.1 vor 9 Jahren

README.suse

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