example42 / puppet-splunk

Splunk Puppet Module
http://www.example42.com
Other
12 stars 29 forks source link

Set home directory in admin password change script #32

Closed yasn77 closed 9 years ago

yasn77 commented 9 years ago

When the splunk process runs as a non root user and the script runs as root (such as running from Puppet). The splunk command line fails and complains that it does not have permissions to create the authentication token in roots home directory.

Since this script should be a one of, setting to root to /tmp and deleting the token after password has changed should be enough and safe.

@yasn77