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_timeout
field. The value for this field indicates the number of minutes before the sudo password expires after initially entering it. A value of0
means you have to enter the password for each sudo command. A value of-1
means there is no sudo password expiration. - Move the cursor to the value for the
Default timestamp_timeout
field and entera
to 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, enterwq
, 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 (Legacy): 1.3.0, 1.3.1, 1.4.0, 1.4.1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.1 Cloud only, 2.2.0 Cloud only, 2.2.1, 2.2.3 Cloud only, 2.2.4, 2.2.5
Feedback submitted, thanks!