Splunk® App for Infrastructure (Legacy)

Administer Splunk App for Infrastructure

Acrobat logo Download manual as PDF


Acrobat logo Download topic as PDF

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.

  1. From the Terminal, enter:
    $ sudo visudo
    

    and enter the password for your system.

  2. 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 of 0 means you have to enter the password for each sudo command. A value of -1 means there is no sudo password expiration.
  3. Move the cursor to the value for the Default timestamp_timeout field and enter a to insert text. Delete the current value and specify a new value that allows the script to run with a single sudo password entry.
  4. When you are done, press the Escape key.
  5. Enter the : (colon) key, enter wq, and then press the Return key to save your changes and exit.
Last modified on 08 July, 2020
PREVIOUS
Support for Splunk App for Infrastructure
  NEXT
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


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters