Trying to run salt as a non-root user works well as long as the user is listed in the publisher_acl in the master.conf. But the standard bash-completions shipped with salt 2019.2.4 on CentOS7 rely on the output of salt-key -l acc but this requires privileged access to /srv/salt/pki/master.
Trying to run salt as a non-root user works well as long as the user is listed in the
publisher_acl
in the master.conf. But the standard bash-completions shipped with salt 2019.2.4 on CentOS7 rely on the output ofsalt-key -l acc
but this requires privileged access to /srv/salt/pki/master.https://github.com/saltstack/salt-pack/blob/c334a309644d5428b20df06dd2e15784dfa768f3/file_roots/pkg/salt/2019_2_4/rhel7/sources/salt.bash#L30