SHA256
1
0
forked from pool/salt
Go to file
2017-03-12 19:00:14 +00:00
.gitattributes Accepting request 175205 from devel:languages:python 2013-05-16 09:38:22 +00:00
.gitignore Accepting request 175205 from devel:languages:python 2013-05-16 09:38:22 +00:00
add-a-salt-minion-service-control-file.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
add-options-for-dockerng.patch Accepting request 473298 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-03-03 14:58:24 +00:00
add-ssh-option-to-salt-ssh.patch Accepting request 473298 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-03-03 14:58:24 +00:00
add-yum-plugin.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
add-zypp-notify-plugin.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
avoid-failures-on-sles-12-sp2-because-of-new-systemd.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
change-travis-configuration-file-to-use-salt-toaster.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
check-if-byte-strings-are-properly-encoded-in-utf-8.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
fix-case-in-os_family-for-suse.patch Accepting request 473298 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-03-03 14:58:24 +00:00
fix-regression-in-file.get_managed-add-unit-tests.patch Accepting request 473298 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-03-03 14:58:24 +00:00
fix-salt-summary-to-count-not-responding-minions-cor.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
html.tar.bz2 Accepting request 430691 from systemsmanagement:saltstack:testing 2016-09-28 07:49:13 +00:00
README.SUSE Accepting request 339485 from devel:languages:python 2015-10-19 20:52:40 +00:00
run-salt-api-as-user-salt-bsc-990029.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
run-salt-master-as-dedicated-salt-user.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
salt-2016.11.3.tar.gz Accepting request 473298 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-03-03 14:58:24 +00:00
salt-tmpfiles.d Accepting request 339485 from devel:languages:python 2015-10-19 20:52:40 +00:00
salt.changes Accepting request 473298 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-03-03 14:58:24 +00:00
salt.spec Accepting request 473298 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-03-03 14:58:24 +00:00
setting-up-os-grains-for-sles-expanded-support-suse-.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
translate-variable-arguments-if-they-contain-hidden-.patch Accepting request 473298 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-03-03 14:58:24 +00:00
travis.yml Accepting request 438684 from systemsmanagement:saltstack:testing 2016-11-06 11:48:16 +00:00
tserong-suse.com-we-don-t-have-python-systemd-so-not.patch Accepting request 458508 from home:bmaryniuk:branches:systemsmanagement:saltstack 2017-02-16 15:09:53 +00:00
update-documentation.sh Accepting request 430691 from systemsmanagement:saltstack:testing 2016-09-28 07:49:13 +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