<?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: Admin password hash in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134457#M20148</link>
    <description>&lt;P&gt;It seems to be any bash script&lt;/P&gt;&lt;P&gt;I'm using terraform to deploy the stand-alone&amp;nbsp;&lt;SPAN&gt;AWS CloudGuard gateway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I’m using the templatefile function to reference a batch script.&lt;/P&gt;&lt;P&gt;In the aws_instance resource, for user_data im passing the raw data via a bash script with associated variables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e. user_data = templatefile("${path.module}/gw_user_data.sh", {vars}&lt;/P&gt;&lt;P&gt;The bash script is located in the path of the module as specific by the interpolation above&amp;nbsp;${path.module}.&lt;/P&gt;&lt;P&gt;Validation and plan operations complete successfully.&lt;/P&gt;&lt;P&gt;However the gateway is not being configured with this data with the instance is launched.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 02:09:39 GMT</pubDate>
    <dc:creator>Simon_Macpherso</dc:creator>
    <dc:date>2021-11-19T02:09:39Z</dc:date>
    <item>
      <title>Admin password hash</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134321#M20116</link>
      <description>&lt;P&gt;Trying to set the admin account password using a password hash but I can't log in after it has been set.&lt;/P&gt;&lt;P&gt;Tried with R80.40 and R81.10.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Configuring via a bash script which runs on a stand-alone AWS Cloudguard gateway post-deployment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generating password using SHA256&lt;SPAN&gt;&amp;nbsp;/&amp;nbsp;&lt;/SPAN&gt;SHA512:&amp;nbsp;openssl passwd -6 PASSWORD&lt;/P&gt;&lt;P&gt;Have also tried MD5: openssl passwd -1 PASSWORD&lt;/P&gt;&lt;P&gt;Password hash is assigned to a variable $pwd_hash and the following is run&lt;/P&gt;&lt;P&gt;clish -c "set user admin password-hash $pwd_hash" -s&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any caveats I should be aware of when using password-hash with with of these software versions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 01:15:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134321#M20116</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-11-18T01:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Admin password hash</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134322#M20117</link>
      <description>&lt;P&gt;MD5 hash is the default I believe.&lt;BR /&gt;And the example here suggests you’re doing the right thing, but I think you can specify it as part of the deployment:&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk104080&amp;amp;partition=Basic&amp;amp;product=vSEC" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk104080&amp;amp;partition=Basic&amp;amp;product=vSEC&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 01:29:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134322#M20117</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-11-18T01:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Admin password hash</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134328#M20119</link>
      <description>&lt;P&gt;I suspect the cloud-init.sh script isn’t been run during terraform apply.&lt;/P&gt;&lt;P&gt;I have a similar problem with deploying a stand-alone AWS CloudGuard gateway in to an existing VPC using the &lt;A href="https://github.com/CheckPointSW/CloudGuardIaaS/tree/master/terraform/aws/gateway" target="_blank"&gt;CloudGuard Network Security Gateway Terraform module for AWS.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the module that creates the AWS EC2 instance, a bash script is called to complete post-deployment configuration on the instance, including configuring the admin password.&lt;/P&gt;&lt;P&gt;However, even though the script resides in the correct location it script does not appear to be getting called.&lt;/P&gt;&lt;P&gt;I'm using Terraform v1.0.9 on Windows.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 06:48:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134328#M20119</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-11-18T06:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Admin password hash</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134451#M20144</link>
      <description>&lt;P&gt;If cloud-init.sh isn't running, that sounds like a bug.&lt;BR /&gt;Suggest a TAC case.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 22:41:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134451#M20144</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-11-18T22:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Admin password hash</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134457#M20148</link>
      <description>&lt;P&gt;It seems to be any bash script&lt;/P&gt;&lt;P&gt;I'm using terraform to deploy the stand-alone&amp;nbsp;&lt;SPAN&gt;AWS CloudGuard gateway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I’m using the templatefile function to reference a batch script.&lt;/P&gt;&lt;P&gt;In the aws_instance resource, for user_data im passing the raw data via a bash script with associated variables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e. user_data = templatefile("${path.module}/gw_user_data.sh", {vars}&lt;/P&gt;&lt;P&gt;The bash script is located in the path of the module as specific by the interpolation above&amp;nbsp;${path.module}.&lt;/P&gt;&lt;P&gt;Validation and plan operations complete successfully.&lt;/P&gt;&lt;P&gt;However the gateway is not being configured with this data with the instance is launched.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 02:09:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Admin-password-hash/m-p/134457#M20148</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-11-19T02:09:39Z</dc:date>
    </item>
  </channel>
</rss>

