System user creation in AEM LTS/AEM 6.6 | Community
Skip to main content
kamalakannank62
Level 3
June 20, 2025
Solved

System user creation in AEM LTS/AEM 6.6

  • June 20, 2025
  • 1 reply
  • 353 views

Dear AEM Enthusiast,
Seeing that AEM LTS doesnt support cr-explorer
How to create system user in AEM LTS/6.6 ?

Best answer by arunpatidar

Hi @kamalakannank62 

Use Repoinit - https://sling.apache.org/documentation/bundles/repository-initialization.html

Example 
org.apache.sling.jcr.repoinit.RepositoryInitializer~my.cfg.json

"create service user my-service-user with path system/cq:services/myusers", "set ACL for my-service-user\n allow jcr:read, jcr:write on /var\nend"

 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 20, 2025

Hi @kamalakannank62 

Use Repoinit - https://sling.apache.org/documentation/bundles/repository-initialization.html

Example 
org.apache.sling.jcr.repoinit.RepositoryInitializer~my.cfg.json

"create service user my-service-user with path system/cq:services/myusers", "set ACL for my-service-user\n allow jcr:read, jcr:write on /var\nend"

 

Arun Patidar