How to restore the admin user access for web console.

Avatar

Avatar

Nagesh_Mohan

Avatar

Nagesh_Mohan

Nagesh_Mohan

02-04-2019

Hi All,

Accidentally i have removed admin user name from : Apache Sling Web Console Security Provider so now i am unable to get inside system how can revoke it back

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

aemmarc

Employee

Avatar

aemmarc

Employee

aemmarc
Employee

02-04-2019

On the file system go to :

\crx-quickstart\launchpad\config\org\apache\sling\extensions\webconsolesecurityprovider\internal

Edit the file SlingWebConsoleSecurityProvider.config

So that it looks something like this :

groups=[ \

  "", \

  ]

service.pid="org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider"

users=[ \

  "admin", \

  ]

Answers (2)

Answers (2)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

02-04-2019

Excellent answer

Avatar

Avatar

Nagesh_Mohan

Avatar

Nagesh_Mohan

Nagesh_Mohan

02-04-2019

Thanks, it saved my day