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
Solved! Go to Solution.
Hi Surendra,
CRX Explorer allows you to create system users.
Hope that helps.
Alex
Views
Replies
Total Likes
smacdonald2008 wrote...
Thanks. This is a follow up to that post. It was recommended to create a "rep:SystemUser" , and i was following that o create a system-user, but could not.
And i also tried to access the services with a new user defined.. but the osgi services mapped using "Sling Apache Service User Mapping Service" is working only with a "system user" and not with a regular user.
Views
Replies
Total Likes
Hi Surendra,
CRX Explorer allows you to create system users.
Hope that helps.
Alex
I asked Alex whom answered the other thread to follow up here.
Views
Replies
Total Likes
Alexandre COLLIGNON wrote...
Hi Surendra,
CRX Explorer allows you to create system users.
Open http://localhost:4502/crx/explorer/index.jsp
Login as admin
Click User Administration
Click Create System User
Set the UserId
Click Save
Hope that helps.
Alex
Awesome, thanks much. Works for me!!!
Views
Replies
Total Likes
Hi,
What is the best way to package and move system user across different environments? To be precise, we are planning to create a system user in one dev environment, create a package and install it in other environments like QA, Staging and Production, what is the efficient way to achieve this?
In one of the environments, we created a system user in author instance, given appropriate permissions, activated the user but unable to find him in publish(by searching system user in useradmin console). However system user node exists in publish crxde(under /home/users/system). Did anyone face this issue?
If yes, could you please suggest the steps to resolve this issue.
Thanks in advance.
Views
Replies
Total Likes
Hi srikanth,
Were you able to resolve this?
Views
Replies
Total Likes
Hi federicos,
We have followed the approach to create system user in one dev environment, created a package and installed in other environments. The above issue where we could nor find system user in useradmin console was limited to one environment which we resolved by creating system user manually. We have given permissions manually to the system user.
Thanks,
Srikanth Pogula.
Thanks for the quick answer. During my testing I've found that it works too.
Thx,
Federico
Views
Replies
Total Likes
creating system user manually is not a good practice, do we have any other way to achieve?
Views
Replies
Total Likes
Hi,
What do you mean by manually, If you have UI to create system user, you need to specify userid / password.
What are you trying to automate here?
Views
Replies
Total Likes
Views
Likes
Replies