How to create a system user (rep:SystemUser) in AEM 6.1?

Suren Konathala picture Suren Konathala · Jul 13, 2015 · Viewed 8.7k times · Source

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

Answer

Suren Konathala picture Suren Konathala · Jul 15, 2015

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)