Security

Why is Splunkd.log full of" Unknown role 'everybody' " messages?

elusive
Splunk Employee
Splunk Employee

In splunkd.log I see so many of the following warning message: 00-00-0000 00:08:00.000 WARN AuthorizationManager - Unknown role 'everybody'

Why am I seeing so many of these messages?

Tags (3)
1 Solution

elusive
Splunk Employee
Splunk Employee

In older Splunk versions we used role "Everybody". In recent builds this role is renamed as "User". Starting with 4.1.x the role "Everybody" is no longer used. As a result warning message regarding the unknown role Everybody is logged in splunkd.log

To address this message, the file passwd needs to be updated. Before making any changes, make a backup of file passwd.

On unix environment open using vi and run the following:

:%s/Everybody;//g

:%s/Everybody/User/g

This should replace Everybody with role User.

On Windows open using text editor and replace Everybody with User.

After making these changes restart Splunk.

View solution in original post

elusive
Splunk Employee
Splunk Employee

In older Splunk versions we used role "Everybody". In recent builds this role is renamed as "User". Starting with 4.1.x the role "Everybody" is no longer used. As a result warning message regarding the unknown role Everybody is logged in splunkd.log

To address this message, the file passwd needs to be updated. Before making any changes, make a backup of file passwd.

On unix environment open using vi and run the following:

:%s/Everybody;//g

:%s/Everybody/User/g

This should replace Everybody with role User.

On Windows open using text editor and replace Everybody with User.

After making these changes restart Splunk.

Lowell
Super Champion

I believe you are incorrect by saying that "user" replaces "Everybody". If I'm not mistaken there was a "User" and an "Everybody" in 3.x, and they meant two different things, so saying that the role was simply renamed is misleading. In splunk 4.x "user" is just a normal role (you can grant it or revoke it) and it don't think that was the case with the "Everybody" role in 3.x. (I think it would be more accurate to say that the "user" is the default role in 4.x, just like "Everybody" was in 3.x)

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

More accurately, in 4.x and up the role name is user, note lower-case. Default role names in 3.x started with capital letters, in 4.x they do not. This does matter in several places.

0 Karma

Lowell
Super Champion

The role "everybody" was removed in Splunk 4.0. Did you recently upgrade?

You should update your metadata files to remove the "everybody" user. In Splunk 4.0 you don't need an "everybody" named role, since you can say the same thing with a wild card. For example:

access = read : [ * ], write : [ admin ]

This means everyone can read, and only the "admin" role can write.

See the following from the docs:

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...