<?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: Set the default password on deployment in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/set-the-default-password-on-deployment/m-p/122739#M33625</link>
    <description>&lt;P&gt;That's exactly what I was looking for !&lt;/P&gt;&lt;P&gt;Thank you very much !!&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2024 12:23:34 GMT</pubDate>
    <dc:creator>abricchi</dc:creator>
    <dc:date>2024-08-12T12:23:34Z</dc:date>
    <item>
      <title>Set the default password on deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-the-default-password-on-deployment/m-p/122737#M33623</link>
      <description>&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;I'm looking for a parameter, to set up the default "admin" password on an ACS Community deployment.&lt;BR /&gt;Right now, I wait for the engine to start, and manually curl a new password:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;docker &lt;SPAN class=""&gt;exec&lt;/SPAN&gt; &lt;SPAN class=""&gt;-it&lt;/SPAN&gt; alfresco-1 curl &lt;SPAN class=""&gt;-X&lt;/SPAN&gt; PUT &lt;SPAN class=""&gt;"http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/people/-me-"&lt;/SPAN&gt; &lt;SPAN class=""&gt;\&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;    &lt;SPAN class=""&gt;-H&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"accept: application/json"&lt;/SPAN&gt; &lt;SPAN class=""&gt;-H&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"authorization: Basic YWRtaW46YWRtaW4="&lt;/SPAN&gt; &lt;SPAN class=""&gt;-H&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"Content-Type: application/json"&lt;/SPAN&gt; &lt;SPAN class=""&gt;\&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;    &lt;SPAN class=""&gt;-d&lt;/SPAN&gt; &lt;SPAN class=""&gt;"{  &lt;/SPAN&gt;&lt;SPAN class=""&gt;\"&lt;/SPAN&gt;&lt;SPAN class=""&gt;oldPassword&lt;/SPAN&gt;&lt;SPAN class=""&gt;\"&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;\"&lt;/SPAN&gt;&lt;SPAN class=""&gt;admin&lt;/SPAN&gt;&lt;SPAN class=""&gt;\"&lt;/SPAN&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;\"&lt;/SPAN&gt;&lt;SPAN class=""&gt;password&lt;/SPAN&gt;&lt;SPAN class=""&gt;\"&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;\"&lt;/SPAN&gt;&lt;SPAN class=""&gt;${&lt;/SPAN&gt;&lt;SPAN class=""&gt;CONTENT_PASSWORD&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;\"&lt;/SPAN&gt;&lt;SPAN class=""&gt; }"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;it works, but it feels wrong... Kinda hacky.&lt;/P&gt;&lt;P&gt;Every other internal sub-systems, like ActiveMQ, Keycloak, or Postgres, have environment variables to setup everything on the first launch.&lt;BR /&gt;I can't find such parameter on ACS.&lt;/P&gt;&lt;P&gt;I can't find anything in the ENV variables, nor the alfresco-global.properties.&lt;BR /&gt;Am I looking the wrong way ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 10:23:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-the-default-password-on-deployment/m-p/122737#M33623</guid>
      <dc:creator>abricchi</dc:creator>
      <dc:date>2024-08-12T10:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set the default password on deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-the-default-password-on-deployment/m-p/122738#M33624</link>
      <description>&lt;P&gt;You can use the property &lt;FONT face="andale mono,times"&gt;alfresco_user_store.adminpassword&lt;/FONT&gt;, like in &lt;A href="https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/23.1/docker-compose.yml#L47" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/23.1/docker-compose.yml#L47&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Expected value is an NTLM hash, like calculated in &lt;A href="https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/index.js#L636" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/index.js#L636&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 11:01:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-the-default-password-on-deployment/m-p/122738#M33624</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2024-08-12T11:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set the default password on deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-the-default-password-on-deployment/m-p/122739#M33625</link>
      <description>&lt;P&gt;That's exactly what I was looking for !&lt;/P&gt;&lt;P&gt;Thank you very much !!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 12:23:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-the-default-password-on-deployment/m-p/122739#M33625</guid>
      <dc:creator>abricchi</dc:creator>
      <dc:date>2024-08-12T12:23:34Z</dc:date>
    </item>
  </channel>
</rss>

