The easy install script repeatedly requests user credentials
To address this issue, you need to have sudo permissions on the system.
If you are running the easy install script for a Mac OS X system and the system repeatedly requests user credentials before completing the script's actions, the sudo password timeout interval for the system may be too short. Adjust the sudo password timeout interval to avoid providing user credentials multiple times to successfully run the easy install script.
Follow these steps to increase the password timeout interval so the easy install script successfully runs without forcing you to provide user credentials multiple times.
- From the Terminal, enter:
$ sudo visudo
and enter the password for your system.
- Using the arrow keys to navigate the file, find the
Default timestamp_timeoutfield. The value for this field indicates the number of minutes before the sudo password expires after initially entering it. A value of
0means you have to enter the password for each sudo command. A value of
-1means there is no sudo password expiration.
- Move the cursor to the value for the
Default timestamp_timeoutfield and enter
ato insert text. Delete the current value and specify a new value that allows the script to run with a single sudo password entry.
- When you are done, press the Escape key.
- Enter the
:(colon) key, enter
wq, and then press the Return key to save your changes and exit.
Support for Splunk App for Infrastructure
Data collection is not working and entities are not displaying
This documentation applies to the following versions of Splunk® App for Infrastructure: 1.3.0, 1.3.1, 1.4.0, 1.4.1