<?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: Add users with mgmt_cli in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Add-users-with-mgmt-cli/m-p/19483#M98909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the answer here -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/message/10883-users-via-api" target="_blank"&gt;https://community.checkpoint.com/message/10883-users-via-api&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Michael's suggestion meanwhile.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jun 2019 09:08:32 GMT</pubDate>
    <dc:creator>Robert_Decker</dc:creator>
    <dc:date>2019-06-21T09:08:32Z</dc:date>
    <item>
      <title>Add users with mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Add-users-with-mgmt-cli/m-p/19481#M98907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to add hundreds of regular users (not Access Roles or administrators) for VPN access to the database and am trying to find a way to automate the task. They also need to be assigned a specific Authentication method (Securid).&lt;BR /&gt;I was hoping to use mgmt_cli and a csv file to run a batch, but so far I've only seen how to add other objects, not users. Is this even possible?&lt;/P&gt;&lt;P&gt;LDAP is not an option, this is for a transition between LDAP and Radius.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 16:09:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Add-users-with-mgmt-cli/m-p/19481#M98907</guid>
      <dc:creator>Peter_Kjolner</dc:creator>
      <dc:date>2017-12-20T16:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add users with mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Add-users-with-mgmt-cli/m-p/19482#M98908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not aware of a command (add-users, for example) that uses the R80 API for adding anything other than Administrators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is still possible to use dbedit on the management server to add these users from the CLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were to place your user ids in a single file, then you could script the addition of all x hundred users in one go. What I have below doesn't account for any comments, etc., but additional properties are available ("dbedit -local print users &amp;lt;username&amp;gt;") and can be used as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;# create a list of commands for dbedit to process&lt;BR /&gt;for i in `cat userlist`&lt;BR /&gt;do&lt;BR /&gt;&amp;nbsp; echo "create user ${i}" &amp;gt;&amp;gt; newusers&lt;BR /&gt;&amp;nbsp; echo "modify users ${i} auth_method SecurID" &amp;gt;&amp;gt; newusers&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;# This will have dbedit save the changes.&lt;BR /&gt;echo "update_all" &amp;gt;&amp;gt; newusers&lt;BR /&gt;&lt;BR /&gt;# Use the newly created newusers file &lt;BR /&gt;dbedit -local -f newusers&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 19:28:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Add-users-with-mgmt-cli/m-p/19482#M98908</guid>
      <dc:creator>masher</dc:creator>
      <dc:date>2017-12-20T19:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add users with mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Add-users-with-mgmt-cli/m-p/19483#M98909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the answer here -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/message/10883-users-via-api" target="_blank"&gt;https://community.checkpoint.com/message/10883-users-via-api&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Michael's suggestion meanwhile.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 09:08:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Add-users-with-mgmt-cli/m-p/19483#M98909</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2019-06-21T09:08:32Z</dc:date>
    </item>
  </channel>
</rss>

