<?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 ACS 5.8 Manual CLI Password Recovery in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/acs-5-8-manual-cli-password-recovery/m-p/3067612#M25835</link>
    <description>&lt;P&gt;I tried to boot the ACS install DVD in my ACS virtual machine and it gave me an "unable to find ADE-OS" message and would not attempt an admin password reset. &amp;nbsp;Here is how I worked around the issue:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;1. Boot a CentOS/RHEL 5 or 6 DVD into recovery mode on your ACS VM. &amp;nbsp;This may work with other Linux distro's, but I only used RHEL6 myself.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;*NOTE: This will NOT work for hardware ACS platforms because of their RAID controller's proprietary driver.&lt;/STRONG&gt; You can boot the ACS installer DVD and act like you are going to install again and switch to another console (Alt-F2, F3, or F4... one of those) and get a root prompt and do the same thing I do in step 3.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;2. Once you are in linux, mount the ACS system with the &amp;nbsp;'&lt;STRONG&gt;chroot /mnt/sysimage&lt;/STRONG&gt;' command.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;3. Now cd into the /storageconfig directory and you should see another directory in there called startup-&amp;lt;number&amp;gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;4. Inside this folder you will find your ACS server's startup configuration. Use the vi editor to open the file and change the admin password line to something like:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;user admin password plain MyNewPassword role admin&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;5. Save the file, exit and reboot the server. You should now be able to log into the admin account via SSH or console with the 'MyNewPassword'&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Don't waste time trying to edit the /etc/shadow or /etc/passwd files, or using the passwd command, these files are all replaced every time you reboot.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 07:50:10 GMT</pubDate>
    <dc:creator>kenneth.kirchner</dc:creator>
    <dc:date>2019-03-11T07:50:10Z</dc:date>
    <item>
      <title>ACS 5.8 Manual CLI Password Recovery</title>
      <link>https://community.cisco.com/t5/network-access-control/acs-5-8-manual-cli-password-recovery/m-p/3067612#M25835</link>
      <description>&lt;P&gt;I tried to boot the ACS install DVD in my ACS virtual machine and it gave me an "unable to find ADE-OS" message and would not attempt an admin password reset. &amp;nbsp;Here is how I worked around the issue:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;1. Boot a CentOS/RHEL 5 or 6 DVD into recovery mode on your ACS VM. &amp;nbsp;This may work with other Linux distro's, but I only used RHEL6 myself.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;*NOTE: This will NOT work for hardware ACS platforms because of their RAID controller's proprietary driver.&lt;/STRONG&gt; You can boot the ACS installer DVD and act like you are going to install again and switch to another console (Alt-F2, F3, or F4... one of those) and get a root prompt and do the same thing I do in step 3.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;2. Once you are in linux, mount the ACS system with the &amp;nbsp;'&lt;STRONG&gt;chroot /mnt/sysimage&lt;/STRONG&gt;' command.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;3. Now cd into the /storageconfig directory and you should see another directory in there called startup-&amp;lt;number&amp;gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;4. Inside this folder you will find your ACS server's startup configuration. Use the vi editor to open the file and change the admin password line to something like:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;user admin password plain MyNewPassword role admin&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;5. Save the file, exit and reboot the server. You should now be able to log into the admin account via SSH or console with the 'MyNewPassword'&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Don't waste time trying to edit the /etc/shadow or /etc/passwd files, or using the passwd command, these files are all replaced every time you reboot.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 07:50:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/acs-5-8-manual-cli-password-recovery/m-p/3067612#M25835</guid>
      <dc:creator>kenneth.kirchner</dc:creator>
      <dc:date>2019-03-11T07:50:10Z</dc:date>
    </item>
  </channel>
</rss>

