System user creation in AEM LTS/AEM 6.6 | Community
Skip to main content
arunpatidar
arunpatidarAccepted solution
New Participant
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

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
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"

 

Translate
Arun Patidar