README.suse 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. Salt-master as non-root user
  2. ============================
  3. With this version of salt the salt-master will run as salt user.
  4. Why an extra user
  5. =================
  6. While the current setup runs the master as root user, this is considered a security issue
  7. and not in line with the other configuration management tools (eg. puppet) which runs as a
  8. dedicated user.
  9. How can I undo the change
  10. =========================
  11. If you would like to make the change before you can do the following steps manually:
  12. 1. change the user parameter in the master configuration
  13. user: root
  14. 2. update the file permissions:
  15. as root: chown -R root /etc/salt /var/cache/salt /var/log/salt /var/run/salt
  16. 3. restart the salt-master daemon:
  17. as root: rcsalt-master restart or systemctl restart salt-master
  18. NOTE
  19. ====
  20. Running the salt-master daemon as a root user is considers by some a security risk, but
  21. running as root, enables the pam external auth system, as this system needs root access to check authentication.
  22. For more information:
  23. http://docs.saltstack.com/en/latest/ref/configuration/nonroot.html