Splunk Enterprise

User Mapping

edwardrose
Contributor

Hello All,

 

I am trying to find where a user is getting mapped to a role.  I can see that the user is mapped to the power role in the webui, but I do not see the user being mapped there in /opt/splunk/etc/system/local/authentication.conf.  So what am I missing?  Also there is nothing in /opt/splunk/etc/apps/* that would map the user to the power role.  

 

Thoughts?

thanks

ed

Labels (2)
Tags (2)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @edwardrose,

User role mappings are in below file;

$SPLUNK_HOME/etc/passwd

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

There is no role mapping info in the passwd file, @scelikok 

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

scelikok
SplunkTrust
SplunkTrust

Hi @richgalloway,

Inside $SPLUNK_HOME/etc/passwd below bold field is user role for local Splun authentication. If user has more roles they are listed there comma separated.

:admin:password_hash::Administrator:admin:changeme@example.com:::18624

In case of LDAP authentication user -> role mapping is in authentication.conf

If this reply helps you an upvote and "Accept as Solution" is appreciated.

richgalloway
SplunkTrust
SplunkTrust

Thanks for straightening me out, @scelikok .  I ran a quick test and the mapping of user to role(s) is indeed in passwd.  Authorize.conf maps the roles to capabilities and other settings.

I'll remove my erroneous answer to avoid confusion.

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

edwardrose
Contributor

authorize.conf is used for mapping capabilities to roles

 

https://docs.splunk.com/Documentation/Splunk/8.1.2/Admin/authorizeconf

 

 

 

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...