<?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: CiscoSecure AAA Server (Unix) -- Managing Profiles via CLI in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/ciscosecure-aaa-server-unix-managing-profiles-via-cli/m-p/370813#M429268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As to the access to the CLI, you can modify profiles with the UpdateProfile command:&lt;/P&gt;&lt;P&gt;UpdateProfile -q -p Port [-h Host] [-id Client id] &amp;lt;[-u User] OR [-g Group][-a attribute] [-s [Filename]]&lt;/P&gt;&lt;P&gt;Port - Port at which the dbserver is accepting connection.&lt;/P&gt;&lt;P&gt;Host - CiscoSecure's host name. (Not required if local)&lt;/P&gt;&lt;P&gt;Client id - Client's security id. (Not required if local)&lt;/P&gt;&lt;P&gt;User - Name of user to update.&lt;/P&gt;&lt;P&gt;Group - Name of group to update.&lt;/P&gt;&lt;P&gt;Profile - Profile attribute being updated.&lt;/P&gt;&lt;P&gt;-q - Suppress output to console.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2005 01:59:03 GMT</pubDate>
    <dc:creator>a-vazquez</dc:creator>
    <dc:date>2005-04-28T01:59:03Z</dc:date>
    <item>
      <title>CiscoSecure AAA Server (Unix) -- Managing Profiles via CLI</title>
      <link>https://community.cisco.com/t5/network-access-control/ciscosecure-aaa-server-unix-managing-profiles-via-cli/m-p/370812#M429266</link>
      <description>&lt;P&gt;Greetings All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am wanting to modify user profiles -- specifically, I am looking to apply or modify password expiry dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand the general profile structure and syntax, however, I am not able to modify the profile line to include the expiration string (e.g. until "31 Dec 2005") using the UpdateProfile (with -a option) or UpdatePassword commands in the CLI. I know this can be done, easily, using the Web interface, but the situation I am currently facing dictates use of either the CLI commands or direct modification of the user record in the CS database (and I'm no SQL guru).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how I can accomplish this, so that my user profiles will resemble the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Profile Information&lt;/P&gt;&lt;P&gt;user = test{&lt;/P&gt;&lt;P&gt;profile_id = 41&lt;/P&gt;&lt;P&gt;profile_cycle = 4&lt;/P&gt;&lt;P&gt;member = ANALYSTS&lt;/P&gt;&lt;P&gt;password = clear "*******" &lt;B&gt;&amp;lt;font color = "red"&amp;gt;until "31 Dec 2005"&amp;lt;/font&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edwin Martinez II&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS  If I can only accomplish this by direct modification of the database record(s), can you detail the appropriate SQL commands?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 21:07:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ciscosecure-aaa-server-unix-managing-profiles-via-cli/m-p/370812#M429266</guid>
      <dc:creator>e_martinez_ii</dc:creator>
      <dc:date>2019-03-10T21:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: CiscoSecure AAA Server (Unix) -- Managing Profiles via CLI</title>
      <link>https://community.cisco.com/t5/network-access-control/ciscosecure-aaa-server-unix-managing-profiles-via-cli/m-p/370813#M429268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As to the access to the CLI, you can modify profiles with the UpdateProfile command:&lt;/P&gt;&lt;P&gt;UpdateProfile -q -p Port [-h Host] [-id Client id] &amp;lt;[-u User] OR [-g Group][-a attribute] [-s [Filename]]&lt;/P&gt;&lt;P&gt;Port - Port at which the dbserver is accepting connection.&lt;/P&gt;&lt;P&gt;Host - CiscoSecure's host name. (Not required if local)&lt;/P&gt;&lt;P&gt;Client id - Client's security id. (Not required if local)&lt;/P&gt;&lt;P&gt;User - Name of user to update.&lt;/P&gt;&lt;P&gt;Group - Name of group to update.&lt;/P&gt;&lt;P&gt;Profile - Profile attribute being updated.&lt;/P&gt;&lt;P&gt;-q - Suppress output to console.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 01:59:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ciscosecure-aaa-server-unix-managing-profiles-via-cli/m-p/370813#M429268</guid>
      <dc:creator>a-vazquez</dc:creator>
      <dc:date>2005-04-28T01:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: CiscoSecure AAA Server (Unix) -- Managing Profiles via CLI</title>
      <link>https://community.cisco.com/t5/network-access-control/ciscosecure-aaa-server-unix-managing-profiles-via-cli/m-p/370814#M429269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your reply, but maybe I wasn't clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand how to modify profiles using the UpdateProfile command. What is happening is that I cannot modify the password entry in the profile to change the expiration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards to the sample profile provided:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user = test{&lt;/P&gt;&lt;P&gt;profile_id = 41&lt;/P&gt;&lt;P&gt;profile_cycle = 4&lt;/P&gt;&lt;P&gt;member = ANALYSTS&lt;/P&gt;&lt;P&gt;password = clear "*******" until &lt;B&gt;&lt;FONT color="red"&gt;"31 Dec 2005"&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say user "test" has allowed his password to expire. The profile contains this expiration date (in this case, 31 Dec 2005) which you can view using the command "ViewProfile -u test". You can also modify the password using the command "ChangePassword -u test -pr clear -opw oldPasswd -npw newPasswd" or, more preferable, "UpdatePassword -u test -pr clear -npw newPasswd". Regardless how you change the password, the string representing the expiration date, " until &lt;B&gt;"31 Dec 2005"&lt;/B&gt; ", remains unchanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping that the date could be changed using the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UpdatePassword -a password = clear "******" until &lt;B&gt;&lt;FONT color="green"&gt;"1 Jan 2006"&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this is not happening. The end result is a profile that has, subesquently, been thoroughly munged, and there is no other recourse but to delete and recreate the profile . Definitely an unnecessary choice, but there seems to be no other recourse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone with more insight???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 20:57:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ciscosecure-aaa-server-unix-managing-profiles-via-cli/m-p/370814#M429269</guid>
      <dc:creator>e_martinez_ii</dc:creator>
      <dc:date>2005-04-28T20:57:32Z</dc:date>
    </item>
  </channel>
</rss>

