Splunk Dev

how to reset the sudo pwd in aws?

_Raj
Explorer

Hello,

I have installed splunk on Redhat AWS as a splunk user, when ever i try to view any con files it is asking for sudo password for splunk, even after giving the password for splunk user it is not allowing, how to reset the password pls guide me !

thanks

Labels (1)
0 Karma
1 Solution

livehybrid
SplunkTrust
SplunkTrust

Hi @_Raj 

Firstly, is your splunk user definately in the sudoers list? (/etc/sudoers)

If it is and you need to set the password to it then you might need to reset the password with the following from your ec2-user (or whichever user you usually SSH to)

sudo passwd splunk

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

View solution in original post

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @_Raj 

Firstly, is your splunk user definately in the sudoers list? (/etc/sudoers)

If it is and you need to set the password to it then you might need to reset the password with the following from your ec2-user (or whichever user you usually SSH to)

sudo passwd splunk

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...