Expand my Community achievements bar.

SOLVED

Can we recreate anonymous user if deleted by accident?

Avatar

Level 4

Can we recreate the "anonymous" user on AEM 6.3, if accidentally deleted, using a curl command?

Looking here: https://docs.adobe.com/content/help/en/experience-manager-64/administering/operations/curl.html#user...

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Try to re-start your instance, it should be re-created on starting the instance.

View solution in original post

7 Replies

Avatar

Correct answer by
Community Advisor

Try to re-start your instance, it should be re-created on starting the instance.

Avatar

Level 4
Thanks. I missed reading this line in docs.. "If you accidentally delete this account, it will be re-created upon startup."

Avatar

Community Advisor

As mentioned by @ChitraMadan it will be re-created again.

Please check the details of each type of user at https://docs.adobe.com/content/help/en/experience-manager-64/administering/security/security.html



Arun Patidar

Avatar

Community Advisor

@ChitraMadan  mentioned, the anonymous user will be re-created on server restart. If it is publisher, i was facing issue while accessing the package manager after the re-creation. Refer https://www.albinsblog.com/2020/06/crxde-and-package-manager-is-not-accessible-InitServlet-error-whi... for more details.

Avatar

Employee

Anonymous user is special and if you accidentally delete the user, it will be re-created upon startup.

Avatar

Level 4

I too have accidently disabled the anonymous user but not deleted it. following your solution, i restarted the instance but still not getting login screen.

How to resolve it now. Any curl command or any post method or replication from publisher will help?

 

AEM 6.5.8 on linux.

Avatar

Level 4

If it was not deleted but disabled then better delete using curl cmd and then create the user using curl cmd

https://github.com/paulrohrbeck/aem-links/blob/master/curl_cheatsheet.md