<?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 issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183101#M460320</link>
    <description>Rather than bypassing the protections of normal tools by directly editing the file, I'd be tempted to first try resetting the password with /sbin/passwd (not /usr/bin/passwd) after doing the remsh (or from a single user mode shell, if necessary).  If I remember right (don't have access to a system right now to check), this will not ask for the old password.  &lt;BR /&gt;&lt;BR /&gt;Permissions on this executable on currently supported HP-UX versions are set to not allow non-root users to run it.  Since root COULD directly edit the file and achieve the same result without knowing the password, there is no reason for /sbin/passwd to ask for it.  This is likely a much cleaner way of dealing with the issue you face.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Jun 2009 04:06:47 GMT</pubDate>
    <dc:creator>doug hosking</dc:creator>
    <dc:date>2009-06-23T04:06:47Z</dc:date>
    <item>
      <title>root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183091#M460310</link>
      <description>Group,&lt;BR /&gt;&lt;BR /&gt;here's the scenario:&lt;BR /&gt;&lt;BR /&gt;1) We are able to remsh to the system, so we can get to a root prompt.&lt;BR /&gt;&lt;BR /&gt;2) We want to change the root password, but we don't know the OLD password.&lt;BR /&gt;&lt;BR /&gt;3) HPUX 11.11 trusted system.&lt;BR /&gt;&lt;BR /&gt;Thoughts:&lt;BR /&gt;&lt;BR /&gt;Can we simply?&lt;BR /&gt;erase the u_pwd field in /tcb/files/auth/r/root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jun 2009 15:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183091#M460310</guid>
      <dc:creator>Charles McCary</dc:creator>
      <dc:date>2009-06-22T15:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183092#M460311</link>
      <description>Yes.&lt;BR /&gt;&lt;BR /&gt;To have a null password the line needs to look like:&lt;BR /&gt;&lt;BR /&gt;:u_pwd=:\</description>
      <pubDate>Mon, 22 Jun 2009 15:40:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183092#M460311</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-06-22T15:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183093#M460312</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;thanks...no need to go to single user mode right?</description>
      <pubDate>Mon, 22 Jun 2009 15:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183093#M460312</guid>
      <dc:creator>Charles McCary</dc:creator>
      <dc:date>2009-06-22T15:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183094#M460313</link>
      <description>Hi Charles,&lt;BR /&gt;&lt;BR /&gt;Yes you can do that by editing the file.&lt;BR /&gt;&lt;BR /&gt;/tcb/files/auth/r/root&lt;BR /&gt;&lt;BR /&gt;Remove the encrypted content from mentioned between.&lt;BR /&gt;&lt;BR /&gt;:u_pwd=:\&lt;BR /&gt;&lt;BR /&gt;And no need to go to single user mode.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vivek</description>
      <pubDate>Mon, 22 Jun 2009 15:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183094#M460313</guid>
      <dc:creator>Vivek Bhatia</dc:creator>
      <dc:date>2009-06-22T15:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183095#M460314</link>
      <description>For Example , if you have a entry like this.&lt;BR /&gt;&lt;BR /&gt;:u_pwd=XXXXX:\&lt;BR /&gt;&lt;BR /&gt;Then Remove XXXXX (encrypted content from the file) and that will allow you to login with empty password.&lt;BR /&gt;&lt;BR /&gt;Vivek</description>
      <pubDate>Mon, 22 Jun 2009 15:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183095#M460314</guid>
      <dc:creator>Vivek Bhatia</dc:creator>
      <dc:date>2009-06-22T15:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183096#M460315</link>
      <description>"Patrick,&lt;BR /&gt;&lt;BR /&gt;thanks...no need to go to single user mode right?"&lt;BR /&gt;&lt;BR /&gt;how do you propose to login as root to make the change then?</description>
      <pubDate>Mon, 22 Jun 2009 16:10:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183096#M460315</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-06-22T16:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183097#M460316</link>
      <description>See #1 in original question...we have root access, just not the old password.  thanks.</description>
      <pubDate>Mon, 22 Jun 2009 16:11:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183097#M460316</guid>
      <dc:creator>Charles McCary</dc:creator>
      <dc:date>2009-06-22T16:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183098#M460317</link>
      <description>I guess my main concern is doing this "on the fly" in mulit-user mode.  I don't want something to get corrupted.</description>
      <pubDate>Mon, 22 Jun 2009 16:16:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183098#M460317</guid>
      <dc:creator>Charles McCary</dc:creator>
      <dc:date>2009-06-22T16:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183099#M460318</link>
      <description>ah....missed that bit...yes, you can do it in multiuser.  once you "unset" it as described above, simply log in and set it to whatever new value is desired.</description>
      <pubDate>Mon, 22 Jun 2009 16:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183099#M460318</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-06-22T16:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183100#M460319</link>
      <description>Hi Charles,&lt;BR /&gt;&lt;BR /&gt;Actually if you have root access (remsh) you can do this on the fly.&lt;BR /&gt;&lt;BR /&gt;# vi /tcb/files/auth/r/root &lt;BR /&gt;&lt;BR /&gt;Remove the password hashed field and save.&lt;BR /&gt;&lt;BR /&gt;# passwd root&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 22 Jun 2009 16:28:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183100#M460319</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2009-06-22T16:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183101#M460320</link>
      <description>Rather than bypassing the protections of normal tools by directly editing the file, I'd be tempted to first try resetting the password with /sbin/passwd (not /usr/bin/passwd) after doing the remsh (or from a single user mode shell, if necessary).  If I remember right (don't have access to a system right now to check), this will not ask for the old password.  &lt;BR /&gt;&lt;BR /&gt;Permissions on this executable on currently supported HP-UX versions are set to not allow non-root users to run it.  Since root COULD directly edit the file and achieve the same result without knowing the password, there is no reason for /sbin/passwd to ask for it.  This is likely a much cleaner way of dealing with the issue you face.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jun 2009 04:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183101#M460320</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2009-06-23T04:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: root password issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183102#M460321</link>
      <description>Group, the solution of editing the root file under the tcb tree worked fine for us.&lt;BR /&gt;&lt;BR /&gt;I did try the /sbin/passwd in one of our test environments and it did prompt for the old password.&lt;BR /&gt;&lt;BR /&gt;Thanks everyone</description>
      <pubDate>Tue, 23 Jun 2009 11:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-issue/m-p/5183102#M460321</guid>
      <dc:creator>Charles McCary</dc:creator>
      <dc:date>2009-06-23T11:45:07Z</dc:date>
    </item>
  </channel>
</rss>

