<?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: root password recovery for HP-UX 11.22 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5730971#M732280</link>
    <description>&lt;P&gt;I've never seen any difference between /sbin/passwd and&amp;nbsp;/usr/bin/passwd when changing the root password on a trusted system. It has always prompted for "Old password:" from 11iv1 through 11iv3.&amp;nbsp; Have you tried it and seen a different behavior?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jul 2012 18:16:17 GMT</pubDate>
    <dc:creator>Ken Grabowski</dc:creator>
    <dc:date>2012-07-19T18:16:17Z</dc:date>
    <item>
      <title>root password recovery for hpux 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729251#M732272</link>
      <description>&lt;P&gt;I lost&amp;nbsp; root password&amp;nbsp; for my unix server running 11iv2 and its a trusted system.&amp;nbsp; But fortunately i have sudo access to root from my user account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will the below steps will work to regain my password (i got it through web and it make sense)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sudo su -&lt;BR /&gt;enter your own password here&lt;BR /&gt;#id&lt;BR /&gt;you must see user id 0, which means you are root.&lt;BR /&gt;#cd /tcb/files/auth/r&lt;BR /&gt;#cp root backup_root&lt;BR /&gt;&lt;BR /&gt;useradd -m dummy (or any unused username)&lt;BR /&gt;#passwd dummy&lt;BR /&gt;give it a password&lt;BR /&gt;#cd ../d&lt;BR /&gt;#cat dummy&lt;BR /&gt;copy the encrypted string on the password line up to the colon sign (do not include the colon)&lt;BR /&gt;#cd ../r&lt;BR /&gt;#vi root&lt;BR /&gt;delete the password string and paste the copied password string in its place, making sure the length of deleted string and pasted string are the same.&lt;BR /&gt;#passwd root&lt;BR /&gt;give password for user dummy as old password&lt;BR /&gt;select a new password and type twice !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 17:32:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729251#M732272</guid>
      <dc:creator>solaris72</dc:creator>
      <dc:date>2012-07-18T17:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for hpux 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729257#M732273</link>
      <description>&lt;P&gt;It's much easier than that. Just edit the /tcb/files/auth/r/root tcb file and change the password line to:&lt;/P&gt;&lt;P&gt;:u_pwd=:\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then login as root and run passwd command to set the new password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also use scp to overwrite the old file with a know password file from another server.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 17:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729257#M732273</guid>
      <dc:creator>Ken Grabowski</dc:creator>
      <dc:date>2012-07-18T17:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for hpux 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729261#M732274</link>
      <description>&lt;P&gt;Thanks Ken&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently implemented this in /etc/default/security for auditing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MIN_PASSWORD_LENGTH=8&lt;BR /&gt;PASSWORD_HISTORY_DEPTH=24&lt;BR /&gt;PASSWORD_MIN_UPPER_CASE_CHARS=1&lt;BR /&gt;PASSWORD_MIN_LOWER_CASE_CHARS=1&lt;BR /&gt;PASSWORD_MIN_DIGIT_CHARS=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and my old password is less than 8 characters and no special characters etc..&amp;nbsp; I beleive thats why it quits working?&amp;nbsp; Will emptying root password allow me to reset as it needs to go through above variables?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 17:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729261#M732274</guid>
      <dc:creator>solaris72</dc:creator>
      <dc:date>2012-07-18T17:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for hpux 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729273#M732275</link>
      <description>&lt;P&gt;I've had settings like that and never had a problem. But of course taking a copy of the tcb file before you start can never hurt.&amp;nbsp; Those configuration setting are normally used by the security files (pam) at login and when changing passwords. I've never heard of these settings invalidating an active account.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 18:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729273#M732275</guid>
      <dc:creator>Ken Grabowski</dc:creator>
      <dc:date>2012-07-18T18:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for hpux 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729277#M732276</link>
      <description>&lt;P&gt;Worked perfectly.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 18:16:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729277#M732276</guid>
      <dc:creator>solaris72</dc:creator>
      <dc:date>2012-07-18T18:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for HP-UX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729349#M732277</link>
      <description>&lt;P&gt;&amp;gt;It's much easier than that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any reason you can't just use /sbin/passwd to change the password?&lt;/P&gt;&lt;P&gt;Does it work with trusted?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 19:40:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5729349#M732277</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-07-18T19:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for HP-UX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5730471#M732278</link>
      <description>&lt;P&gt;Dennis,&amp;nbsp; passwd requires the prior root password to be known and entered when the system is set to trusted. When the root password is lost you only have this approach if you have SUDO or RBAC setup, or reboot to single user.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2012 12:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5730471#M732278</guid>
      <dc:creator>Ken Grabowski</dc:creator>
      <dc:date>2012-07-19T12:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for HP-UX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5730949#M732279</link>
      <description>&lt;P&gt;&amp;gt;passwd requires the prior root password&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure this is still true for /sbin/passwd?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2012 18:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5730949#M732279</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-07-19T18:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for HP-UX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5730971#M732280</link>
      <description>&lt;P&gt;I've never seen any difference between /sbin/passwd and&amp;nbsp;/usr/bin/passwd when changing the root password on a trusted system. It has always prompted for "Old password:" from 11iv1 through 11iv3.&amp;nbsp; Have you tried it and seen a different behavior?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2012 18:16:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5730971#M732280</guid>
      <dc:creator>Ken Grabowski</dc:creator>
      <dc:date>2012-07-19T18:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for HP-UX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5731129#M732281</link>
      <description>&lt;P&gt;I just ran '/sbin/passwd root' on HP-UX 10.20, 11.0, 11.11, 11.23 and 11.31 and it asked for the old password on all servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't remember ever NOT being prompted for the old password, regardless of the passwd program used.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2012 20:45:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5731129#M732281</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2012-07-19T20:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: root password recovery for HP-UX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5731389#M732282</link>
      <description>&lt;P&gt;&amp;gt;I don't remember ever NOT being prompted for the old password,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're correct.&amp;nbsp; It does ask for a password in trusted mode.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2012 03:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-recovery-for-hpux-11-22/m-p/5731389#M732282</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-07-20T03:01:29Z</dc:date>
    </item>
  </channel>
</rss>

