SHA256
1
0
forked from pool/salt
Go to file
2018-05-09 09:09:28 +00:00
_lastrevision Accepting request 605688 from systemsmanagement:saltstack:testing 2018-05-09 09:09:28 +00:00
_service Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
.gitattributes Accepting request 541865 from systemsmanagement:saltstack:products:unstable.py3 2017-11-16 09:11:11 +00:00
.gitignore Accepting request 175205 from devel:languages:python 2013-05-16 09:38:22 +00:00
activate-all-beacons-sources-config-pillar-grains.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
add-saltssh-multi-version-support-across-python-inte.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
avoid-excessive-syslogging-by-watchdog-cronjob-58.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
explore-module.run-response-to-catch-the-result-in-d.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fall-back-to-pymysql.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
feat-add-grain-for-all-fqdns.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fix-bsc-1065792.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fix-cp.push-empty-file.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fix-decrease-loglevel-when-unable-to-resolve-addr.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fix-for-errno-0-resolver-error-0-no-error-bsc-108758.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
fix-openscap-push.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
fixed-usage-of-ipaddress.patch Accepting request 605688 from systemsmanagement:saltstack:testing 2018-05-09 09:09:28 +00:00
html.tar.bz2 Accepting request 569868 from systemsmanagement:saltstack:testing 2018-01-26 13:46:21 +00:00
initialize-__context__-retcode-for-functions-handled.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
make-it-possible-to-use-login-pull-and-push-from-mod.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
move-log_file-option-to-changeable-defaults.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
provide-kwargs-to-pkg_resource.parse_targets-require.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
README.SUSE Accepting request 541865 from systemsmanagement:saltstack:products:unstable.py3 2017-11-16 09:11:11 +00:00
remove-obsolete-unicode-handling-in-pkg.info_install.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
run-salt-api-as-user-salt-bsc-1064520.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
run-salt-master-as-dedicated-salt-user.patch Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +00:00
salt-tmpfiles.d Accepting request 541865 from systemsmanagement:saltstack:products:unstable.py3 2017-11-16 09:11:11 +00:00
salt.changes Accepting request 605688 from systemsmanagement:saltstack:testing 2018-05-09 09:09:28 +00:00
salt.spec Accepting request 605688 from systemsmanagement:saltstack:testing 2018-05-09 09:09:28 +00:00
strip-trailing-commas-on-linux-user-gecos-fields.patch Accepting request 601028 from systemsmanagement:saltstack:testing 2018-04-30 12:06:44 +00:00
travis.yml Accepting request 541865 from systemsmanagement:saltstack:products:unstable.py3 2017-11-16 09:11:11 +00:00
update-documentation.sh Accepting request 569868 from systemsmanagement:saltstack:testing 2018-01-26 13:46:21 +00:00
v2018.3.0.tar.gz Accepting request 594031 from systemsmanagement:saltstack:testing 2018-04-11 16:47:08 +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