Accidentally I changed the admin role for my admin user in the Splunk UI.
Admin user - admin role and user role.
Admin user - only user role.
So I cant access the Settings --> Access Control.
How can I change the admin roles in the conf files.
Edit $SPLUNK_HOME/etc/system/local/authorize.conf and remove importRoles attribute from the role_admin stanza to restore the default roles.