<?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: Local Password Policy with Encrypted password in Switching</title>
    <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4286076#M500074</link>
    <description>&lt;P&gt;Thanks for the additional information. I believe that there are at least 2 issues that caused your attempt to configure the user to fail.&lt;/P&gt;
&lt;P&gt;1) When you specify password 7 IOS expects the password to be already encrypted text. You might get that, for example, if you are doing copy/paste from an existing configuration into a new device. If the existing configuration specified service password encryption then the passwords would already have type 7 encryption. But your attempt asks for password 7 but has a plain text password. I would suggest that it would be better if you used this&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;user user1 privilege 15 common-criteria-policy policy1 secret password1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;2) Your policy specifies that there should be at least one capital and 1 special case but the password you used has lower case and 1 number. So you might want something like this&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;user user1 privilege 15 common-criteria-policy policy1 secret Password1#&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 14:07:11 GMT</pubDate>
    <dc:creator>Richard Burts</dc:creator>
    <dc:date>2021-02-04T14:07:11Z</dc:date>
    <item>
      <title>Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4284326#M499922</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have enabled local aaa authentication and added password policy&lt;/P&gt;&lt;P&gt;is there any way to encrypt the password created using the policy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tried using password 7 but it gives an error saying that password cannot be blank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 14:05:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4284326#M499922</guid>
      <dc:creator>giridar</dc:creator>
      <dc:date>2021-02-02T14:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4285514#M500034</link>
      <description>&lt;P&gt;The part of the error message about the password can not be blank leads me to believe that the immediate issue is in how you attempted to configure the user name and password. Can you tell us exactly what you typed in when you attempted to configure this user?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not understand this part of your question "&lt;SPAN&gt;is there any way to encrypt the password created using the policy&lt;/SPAN&gt;". Perhaps you can provide clarification about what policy you configured?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to configure a user and encrypted password I would suggest that using the parameter "secret" rather than using password 7 would be more effective.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 19:06:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4285514#M500034</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2021-02-03T19:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4285802#M500064</link>
      <description>&lt;P&gt;sorry about that,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i enabled aaa authentication and configured a password policy&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;aaa-new model&lt;BR /&gt;aaa authentication login default local&lt;BR /&gt;aaa authorization exec default local&lt;BR /&gt;aaa common-criteria policy policy1&lt;BR /&gt;char-changes 3&lt;BR /&gt;max-length 16&lt;BR /&gt;min-length 8&lt;BR /&gt;special-case 1&lt;BR /&gt;numeric-count 1&lt;BR /&gt;upper-count 1&lt;BR /&gt;lower-count 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then tried to add user&lt;/P&gt;&lt;P&gt;user user1 privilege 15 common-criteria-policy policy1 password 7 password1&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 05:03:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4285802#M500064</guid>
      <dc:creator>giridar</dc:creator>
      <dc:date>2021-02-04T05:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4286076#M500074</link>
      <description>&lt;P&gt;Thanks for the additional information. I believe that there are at least 2 issues that caused your attempt to configure the user to fail.&lt;/P&gt;
&lt;P&gt;1) When you specify password 7 IOS expects the password to be already encrypted text. You might get that, for example, if you are doing copy/paste from an existing configuration into a new device. If the existing configuration specified service password encryption then the passwords would already have type 7 encryption. But your attempt asks for password 7 but has a plain text password. I would suggest that it would be better if you used this&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;user user1 privilege 15 common-criteria-policy policy1 secret password1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;2) Your policy specifies that there should be at least one capital and 1 special case but the password you used has lower case and 1 number. So you might want something like this&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;user user1 privilege 15 common-criteria-policy policy1 secret Password1#&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 14:07:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4286076#M500074</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2021-02-04T14:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4286090#M500075</link>
      <description>&lt;P&gt;thank you, when i run&amp;nbsp;&lt;SPAN&gt;user user1 privilege 15 common-criteria-policy policy1 secret Password1#&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;it gives attached error&lt;/P&gt;&lt;P&gt;is there a way to generate a password 7&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 14:20:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4286090#M500075</guid>
      <dc:creator>giridar</dc:creator>
      <dc:date>2021-02-04T14:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4286113#M500077</link>
      <description>&lt;P&gt;I am surprised that the command to create a user does not accept the secret parameter. But your use of the help ? does show pretty clearly that it expects password and not secret. So use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;user user1 privilege 15 common-criteria-policy policy1 password Password1#&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If your configuration contains the service password-encryption then I would expect that the result would be in the config file the user password would have type 7 encryption.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 14:32:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4286113#M500077</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2021-02-04T14:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4287768#M500252</link>
      <description>&lt;P&gt;thank you, currently there is no&amp;nbsp;&lt;SPAN&gt;service password-encryption&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 05:34:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4287768#M500252</guid>
      <dc:creator>giridar</dc:creator>
      <dc:date>2021-02-08T05:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4287796#M500254</link>
      <description>&lt;P&gt;If currently your config does not contain service password-encryption can you add that? Have you been able to configure the user ID with a password? In show run what do you see for the user?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 07:34:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4287796#M500254</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2021-02-08T07:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4287923#M500270</link>
      <description>&lt;P&gt;yes, i have configured&amp;nbsp;&lt;SPAN&gt;service password-encryption and the password is now encrypted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you very much&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 11:34:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4287923#M500270</guid>
      <dc:creator>giridar</dc:creator>
      <dc:date>2021-02-08T11:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4288070#M500293</link>
      <description>&lt;P&gt;You are welcome. I am glad that my suggestions were helpful and that you have now achieved what you were trying to accomplish.&amp;nbsp;&lt;SPAN&gt;Thank you for marking this question as solved. This will help other participants in the community to identify discussions which have helpful information. This community is an excellent place to ask questions and to learn about networking. I hope to see you continue to be active in the community.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 15:39:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4288070#M500293</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2021-02-08T15:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Local Password Policy with Encrypted password</title>
      <link>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4616466#M524409</link>
      <description>&lt;P&gt;I have experienced the same issue. It does not allow me to set secret passwords like this username &lt;EM&gt;usertest&lt;/EM&gt; common-criteria-policy &lt;EM&gt;TEST &lt;/EM&gt;secret&lt;EM&gt; password123453a and accept only&amp;nbsp;username usertest common-criteria-policy TEST password&amp;nbsp;password123453a. I have already enabled the encryption service as well. any ideas why?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 13:00:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/local-password-policy-with-encrypted-password/m-p/4616466#M524409</guid>
      <dc:creator>savvas.ap</dc:creator>
      <dc:date>2022-05-24T13:00:54Z</dc:date>
    </item>
  </channel>
</rss>

