<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: System User AEM Cloud in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/450139#M128996</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="1796254"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;could you please let me know where I can find the permissions(allow) node for the system user which I created. not found it under content &amp;amp; etc as well. Need to deploy it to higher environments along with the permissions. Kindly help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 12:31:48 GMT</pubDate>
    <dc:creator>Lakshmi9</dc:creator>
    <dc:date>2022-04-28T12:31:48Z</dc:date>
    <item>
      <title>System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412717#M2194</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create a system user on AEM Cloud, but the url where the system users are created is not available on Cloud. How can I create or at least export/import a system user on Cloud? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 14:49:27 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412717#M2194</guid>
      <dc:creator>AD-Engineer</dc:creator>
      <dc:date>2021-06-16T14:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412734#M2195</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17441488"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can create the system user on your local AEM instance and it must be stored on location /home/users/system/&amp;lt;sys user&amp;gt; and provide proper permission.&lt;/P&gt;&lt;P&gt;Then follow below steps-&lt;/P&gt;&lt;P&gt;1. Create package of system user.&lt;BR /&gt;2. Download and unzip there you should see the system user folder ( .content.xml inside ) for system user, which you can commit as part of codebase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample .content.xml will look like below-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;jcr:root xmlns:jcr="&lt;A href="http://www.jcp.org/jcr/1.0" target="_blank"&gt;http://www.jcp.org/jcr/1.0&lt;/A&gt;" xmlns:rep="internal"&lt;BR /&gt;jcr:primaryType="rep:SystemUser"&lt;BR /&gt;jcr:uuid="5d9c68c6-c50e-33d0-aa2f-cf54f63993b6"&lt;BR /&gt;rep:authorizableId="testSystemUser"&lt;BR /&gt;rep:principalName="testSystemUser"/&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 16:35:05 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412734#M2195</guid>
      <dc:creator>Ritesh_Mittal</dc:creator>
      <dc:date>2021-06-16T16:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412771#M2196</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="1796254"&gt;&lt;/LI-USER&gt;&lt;/P&gt;&lt;P&gt;Thank you for you reply. I got the package, but where should i put it on the code? In which folder should be added? Thank you again!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 18:39:43 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412771#M2196</guid>
      <dc:creator>AD-Engineer</dc:creator>
      <dc:date>2021-06-16T18:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412807#M2197</link>
      <description>&lt;P&gt;It is not a best practice to deploy the system user with code or package.&lt;/P&gt;&lt;P&gt;I had the same problem earlier and we discussed the same thing with Adobe techincal team and they suggested about the REPOINT.&lt;/P&gt;&lt;P&gt;I rasied this question on forum and got the answer. you can refer this url -&lt;BR /&gt;&lt;A href="https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-as-a-cloud-system-user/qaq-p/408773/comment-id/89812#M89812" target="_blank"&gt;https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-as-a-cloud-system-user/qaq-p/408773/comment-id/89812#M89812&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 04:43:13 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412807#M2197</guid>
      <dc:creator>Prince_Shivhare</dc:creator>
      <dc:date>2021-06-17T04:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412823#M2198</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17441488"&gt;&lt;/LI-USER&gt;&amp;nbsp;, Keeping the system user in the code is not a good practice.As&amp;nbsp;&lt;LI-USER uid="7865991"&gt;&lt;/LI-USER&gt;&amp;nbsp; said.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are also using the system user in our project and that we have kept in the package.So whenever system user is required to run some workflow or service on the environment such as dav/qa/uat . We just Deploy the user package on the environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create the package as&amp;nbsp;&lt;LI-USER uid="1796254"&gt;&lt;/LI-USER&gt;&amp;nbsp;already explained and once package is created download it at your local and upload and install the same package wherever you required and provide the &lt;STRONG&gt;read and write permission&lt;/STRONG&gt;&amp;nbsp;of that user for specific folder or as per your requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 05:10:25 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412823#M2198</guid>
      <dc:creator>kchaurasiya</dc:creator>
      <dc:date>2021-06-17T05:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412847#M2199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="13026194"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;LI-USER uid="7865991"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you point out where it is mentioned that keeping system user in GIT repo is not a best practice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, notably, moving forward (with AEM as Cloud Service), Adobe is even recommending (forcing, wink) to have configuration as part of GIT repository.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-USER uid="17441488"&gt;&lt;/LI-USER&gt;&amp;nbsp; To answer your question, you can put the system user folder under below path-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/ui.content/src/main/content/jcr_root/home/users/system/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, you need to add the entry in filter.xml, the path should be "/ui.content/src/main/content/META-INF/vault/filter.xml"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;filter&lt;/SPAN&gt; &lt;SPAN class=""&gt;root&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;/home/users/system/mysystemuser&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 06:56:28 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412847#M2199</guid>
      <dc:creator>Ritesh_Mittal</dc:creator>
      <dc:date>2021-06-17T06:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412848#M2200</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17441488"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create a system user using&amp;nbsp;&lt;SPAN&gt;RepositoryInitializer configuration which is available in AEM as Cloud.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It will automatically create the system user with appropriate level of permision as mentioned in the script/config which can be added as an OSGi config.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create an OSGi config with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;org.apache.sling.jcr.repoinit.RepositoryInitializer-project.config and add the below code where "systemuser" is the name of the user and /etc is the path with level of access.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;scripts&lt;/SPAN&gt;=&lt;SPAN&gt;[&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;        create &lt;/SPAN&gt;service user &lt;STRONG&gt;systemuser&lt;/STRONG&gt;&lt;BR /&gt;        &lt;SPAN&gt;set &lt;/SPAN&gt;ACL for &lt;STRONG&gt;systemuser&lt;/STRONG&gt;&lt;BR /&gt;        &lt;SPAN&gt;allow &lt;/SPAN&gt;jcr:read on /etc restriction(rep:glob,/productfeed)&lt;BR /&gt;        &lt;SPAN&gt;allow &lt;/SPAN&gt;jcr:write on /etc restriction(rep:glob,/productfeed)&lt;BR /&gt;        &lt;SPAN&gt;end&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;        "&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please see my answer here as well:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-as-a-cloud-system-user/qaq-p/408773/comment-id/89812#M89812" target="_blank"&gt;https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-as-a-cloud-system-user/qaq-p/408773/comment-id/89812#M89812&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;More information available here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://sling.apache.org/documentation/bundles/repository-initialization.html" target="_blank"&gt;https://sling.apache.org/documentation/bundles/repository-initialization.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 07:01:48 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412848#M2200</guid>
      <dc:creator>Asutosh_Jena_</dc:creator>
      <dc:date>2021-06-17T07:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412850#M2201</link>
      <description>Hi &lt;LI-USER uid="1796254" login="Ritesh_M"&gt;&lt;/LI-USER&gt;, Thanks, I am agree with you that we can keep the system user inside the code not denying . I just shared my project experience as in my project they did not allow to keep the system user in the code. So its a part of package. Thanks</description>
      <pubDate>Thu, 17 Jun 2021 07:13:57 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412850#M2201</guid>
      <dc:creator>kchaurasiya</dc:creator>
      <dc:date>2021-06-17T07:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412851#M2203</link>
      <description>Thanks, Just wanted to check if I am missing anything.</description>
      <pubDate>Thu, 17 Jun 2021 07:20:58 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/412851#M2203</guid>
      <dc:creator>Ritesh_Mittal</dc:creator>
      <dc:date>2021-06-17T07:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: System User AEM Cloud</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/450139#M128996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="1796254"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;could you please let me know where I can find the permissions(allow) node for the system user which I created. not found it under content &amp;amp; etc as well. Need to deploy it to higher environments along with the permissions. Kindly help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 12:31:48 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/system-user-aem-cloud/m-p/450139#M128996</guid>
      <dc:creator>Lakshmi9</dc:creator>
      <dc:date>2022-04-28T12:31:48Z</dc:date>
    </item>
  </channel>
</rss>

