Installation

Enable user id and password for starting splunk

asing13
Path Finder

Hi Team,

I started splunk with the below command after installation:
./splunk start --no-prompt --accept-license

I then created a user using the below CLI command:
splunk add user asing13 -role Admin -password notmypassword

But now I don't get asked a password when start or stop splunk. How can I enable userid and password check for starting and stopping splunk.

I have already gone through the below documentation but did not find my answer. Tried creating file and the hashed password and all stuff written. Maybe I missed something :
https://docs.splunk.com/Documentation/Splunk/8.1.0/Security/Secureyouradminaccount

Took backup of ldap.conf file as well to check if that could be the reason but still splunk doesn't ask for userid and password.

asing13_0-1604013778840.png

Any help would be highly appreciated !

Thank you in Advance !

 

Regards,
Abhishek Singh

Labels (4)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

One is never asked for credentials when starting or stopping Splunk.  Some other commands require credentials, but not start/stop.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

One is never asked for credentials when starting or stopping Splunk.  Some other commands require credentials, but not start/stop.

---
If this reply helps you, Karma would be appreciated.

asing13
Path Finder

Thanks alot @richgalloway !

Sorry I got confused with other operations we do in splunk like adding the deployment manager, etc which requires the user and password.

0 Karma
Get Updates on the Splunk Community!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...