<?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: FTD Local Password Change in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778118#M1097961</link>
    <description>&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;Thank you for your suggestion.&amp;nbsp; I am new to scripting, I can login to the FTD via Python script but I can't figure out how to script the password change command.&amp;nbsp; Any suggestion?&lt;/P&gt;</description>
    <pubDate>Sun, 19 Feb 2023 13:45:17 GMT</pubDate>
    <dc:creator>GDS2023</dc:creator>
    <dc:date>2023-02-19T13:45:17Z</dc:date>
    <item>
      <title>FTD Local Password Change</title>
      <link>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778032#M1097959</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way to change local credential of multiple FTD devices from CDO?&amp;nbsp; If not, is there an easy way to accomplish this instead if manually doing it on individual devIces?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 03:04:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778032#M1097959</guid>
      <dc:creator>GDS2023</dc:creator>
      <dc:date>2023-02-19T03:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: FTD Local Password Change</title>
      <link>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778066#M1097960</link>
      <description>&lt;P&gt;Not that i have come across that option to change, you can do automation to change all the devices local passwords using any script like python.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/command_ref/b_Command_Reference_for_Firepower_Threat_Defense/c_3.html?bookSearch=true#wp3889498967" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/command_ref/b_Command_Reference_for_Firepower_Threat_Defense/c_3.html?bookSearch=true#wp3889498967&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Note:&amp;nbsp; if anywhere you using the admin account for some reason that place is also required to change, do not lockout yourself, so make sure an equivalent admin account is created or available for your to change.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 09:18:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778066#M1097960</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2023-02-19T09:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: FTD Local Password Change</title>
      <link>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778118#M1097961</link>
      <description>&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;Thank you for your suggestion.&amp;nbsp; I am new to scripting, I can login to the FTD via Python script but I can't figure out how to script the password change command.&amp;nbsp; Any suggestion?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 13:45:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778118#M1097961</guid>
      <dc:creator>GDS2023</dc:creator>
      <dc:date>2023-02-19T13:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTD Local Password Change</title>
      <link>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778137#M1097962</link>
      <description>&lt;P&gt;used long back in my lab test it before make a mass use :&lt;/P&gt;
&lt;P&gt;#FTD password change beta script&lt;/P&gt;
&lt;P&gt;from netmiko import ConnectHandler&lt;/P&gt;
&lt;P&gt;# Define the device information and new password&lt;BR /&gt;device = {&lt;BR /&gt;"device_type": "cisco_ftd_ssh",&lt;BR /&gt;"ip": "192.168.1.1",&lt;BR /&gt;"username": "admin",&lt;BR /&gt;"password": "oldpassword",&lt;BR /&gt;}&lt;BR /&gt;new_password = "newpassword"&lt;/P&gt;
&lt;P&gt;# Connect to the FTD device using Netmiko&lt;BR /&gt;ssh_conn = ConnectHandler(**device)&lt;/P&gt;
&lt;P&gt;# Use the CLI to change the password&lt;BR /&gt;ssh_conn.send_command_timing("configure password " + new_password)&lt;/P&gt;
&lt;P&gt;# Save the configuration&lt;BR /&gt;ssh_conn.send_command_timing("write memory")&lt;/P&gt;
&lt;P&gt;# Close the SSH connection&lt;BR /&gt;ssh_conn.disconnect()&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 15:38:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778137#M1097962</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2023-02-19T15:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: FTD Local Password Change</title>
      <link>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778741#M1098021</link>
      <description>&lt;P&gt;Thank you for sharing the script Balaji.&amp;nbsp; I was a be to accomplish what I need to do.&lt;/P&gt;&lt;P&gt;I had to use a list for the password change command like the one below.&lt;/P&gt;&lt;P&gt;cmd_list=[&lt;BR /&gt;"configure password",&lt;BR /&gt;"current_password",&lt;BR /&gt;"new_password",&lt;BR /&gt;"confirm_new_password!"&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;ssh_conn.send_multiline_timing(cmd_list)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 19:40:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/ftd-local-password-change/m-p/4778741#M1098021</guid>
      <dc:creator>GDS2023</dc:creator>
      <dc:date>2023-02-20T19:40:30Z</dc:date>
    </item>
  </channel>
</rss>

