3
votes

On AEM 6.1.. I am trying to create a System User (rep:SystemUser). Can anyone help me?

I need this system-user to map to a service in OSGI that i want to use to Write some data to aem content.

I can see the "system users" in CRX at this location: /home/users/system

I tried to create a new node to create a new-user with "jcr:primaryType rep:SystemUser", and defined the rep:PrincipalName, but that property is not being set as "Protected=true", by default is is taking as "Protected = false" and so saving the node is failing with that message.

Reference: http://aemfaq.blogspot.com/2015/01/aem6-default-groups-users-without.html

2

2 Answers

8
votes

Continuing with pacoolsky's comments adding the steps to create a new "system user" through CRX Explorer tool:

  1. Open http://localhost:4502/crx/explorer/index.jsp
  2. Login as admin
  3. Click User Administration
  4. Click Create System User
  5. Set the UserId Click green button with tick (cannot see a SAVE button)
4
votes

In 6.1 you can create systemUser programatically using Jackrabbit API or through User Administation in /crx/explorer tool.