<?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: Forgot root password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369533#M867697</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is the below steps also works?&lt;BR /&gt;&lt;BR /&gt;1. Ctrl-B, &lt;ENTER&gt;, &lt;ENTER&gt;, issue command: TC&lt;BR /&gt;&lt;BR /&gt;2. Boot to Single User Mode&lt;BR /&gt;&lt;BR /&gt;3. # modprpw -k root&lt;BR /&gt;&lt;BR /&gt;4. # passwd root&lt;BR /&gt;&lt;BR /&gt;If yes, what is the difference between the steps that u provided and the steps above?&lt;BR /&gt;&lt;BR /&gt;regards&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
    <pubDate>Tue, 31 Aug 2004 22:37:14 GMT</pubDate>
    <dc:creator>Ngoh Chean Siung</dc:creator>
    <dc:date>2004-08-31T22:37:14Z</dc:date>
    <item>
      <title>Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369530#M867694</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I already forgot the root password. Any solution?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Tue, 31 Aug 2004 21:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369530#M867694</guid>
      <dc:creator>Ngoh Chean Siung</dc:creator>
      <dc:date>2004-08-31T21:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369531#M867695</link>
      <description>You will need to shutdown / or simply power off if that's all you can do and bring the system up in single-user mode at the console.&lt;BR /&gt;&lt;BR /&gt;Power-on and interrupt the boot by pressing &lt;RETURN&gt; when prompted. Next&lt;BR /&gt;BOOT PRI&lt;BR /&gt;Interact with ISL (or IPL) y&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux -is&lt;BR /&gt;&lt;BR /&gt;That will bring you up as root in single-user. You can then execute /sbin/passwd to set the root password.&lt;/RETURN&gt;</description>
      <pubDate>Tue, 31 Aug 2004 21:24:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369531#M867695</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-08-31T21:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369532#M867696</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Have the application/database down on the system. Once you make sure that nothing other than the OS processes (owned by root) are running, then physically power off and on the system.&lt;BR /&gt;&lt;BR /&gt;After the system completes diagnostics, it will give you 'n' seconds (usually 10 seconds) to stop booting. Press any key that time and it will put you to bootadmin prompt. Boot from the primary disk (bo pri) and when it prompts to interact with ISL, type 'y'. Boot process may be slightly different depending on the hardware you have. Once you are at ISL prompt type "ISL&amp;gt;hpux -is". It will bring single user mode. You can use either /sbin/passwd command (recommended) or edit /etc/passwd file (/tcb/files/auth/r/root in case of trusted system) and delete the  encrypted password string. Then set the password using passwd command. THen run 'init 3' to bring it back to multi-user mode.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 31 Aug 2004 21:32:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369532#M867696</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-08-31T21:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369533#M867697</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is the below steps also works?&lt;BR /&gt;&lt;BR /&gt;1. Ctrl-B, &lt;ENTER&gt;, &lt;ENTER&gt;, issue command: TC&lt;BR /&gt;&lt;BR /&gt;2. Boot to Single User Mode&lt;BR /&gt;&lt;BR /&gt;3. # modprpw -k root&lt;BR /&gt;&lt;BR /&gt;4. # passwd root&lt;BR /&gt;&lt;BR /&gt;If yes, what is the difference between the steps that u provided and the steps above?&lt;BR /&gt;&lt;BR /&gt;regards&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
      <pubDate>Tue, 31 Aug 2004 22:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369533#M867697</guid>
      <dc:creator>Ngoh Chean Siung</dc:creator>
      <dc:date>2004-08-31T22:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369534#M867698</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yep. Instead of "tc", use 'rs' command. That's soft reset of the system. tc will dump the core which you don't need.&lt;BR /&gt;&lt;BR /&gt;modprpw -k root is for trusted systems and if the root is disabled. If the system is not trusted and if you simply don't know the password, then use the procedures given above. &lt;BR /&gt;&lt;BR /&gt;If you see the /tcb structure, (ll -d /tcb), then the system is trusted. So, once you are in single user mode do.&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/modprpw -k root&lt;BR /&gt;&lt;BR /&gt;(change the password either by using passwd command or by deleting the encrypted string in /tcb/files/auth/r/root file).&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 31 Aug 2004 22:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369534#M867698</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-08-31T22:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369535#M867699</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Due to I unable to login as root to shutdown the server properly, I have to shutdown the server manually by pressing the ON button. Is it the correct or any alternate way?&lt;BR /&gt;&lt;BR /&gt;So after I reached the single user mode, I have to run fsck to repair all the file system and mount all the file system in order to use HP-UX comamnds (which is at /usr). Is it the process that must be go through whenever someone is forgot the root password?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Wed, 01 Sep 2004 02:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369535#M867699</guid>
      <dc:creator>Ngoh Chean Siung</dc:creator>
      <dc:date>2004-09-01T02:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369536#M867700</link>
      <description>As far as I know... yes :-)&lt;BR /&gt;I did this operation from some time but I didn't find any data loss problem.</description>
      <pubDate>Wed, 01 Sep 2004 03:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369536#M867700</guid>
      <dc:creator>Mauro Gatti</dc:creator>
      <dc:date>2004-09-01T03:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369537#M867701</link>
      <description>You can either swith off server, or issue a "rs" from your GSP. which will reset the system&lt;BR /&gt;&lt;BR /&gt;Can you do a rlogin/remsh from any other server as "root"?&lt;BR /&gt;&lt;BR /&gt;-Raj</description>
      <pubDate>Wed, 01 Sep 2004 03:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369537#M867701</guid>
      <dc:creator>RAJESH GANGADHARAN</dc:creator>
      <dc:date>2004-09-01T03:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369538#M867702</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have tried to rlogin but system prompt me to enter the password. Have not tried remsh. Actually what is rlogin and remsh for?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Wed, 01 Sep 2004 04:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369538#M867702</guid>
      <dc:creator>Ngoh Chean Siung</dc:creator>
      <dc:date>2004-09-01T04:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369539#M867703</link>
      <description>If you didn't set before .rhosts and /or /etc/hosts.equiv you can't use rlogin without insert user's password!</description>
      <pubDate>Wed, 01 Sep 2004 06:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369539#M867703</guid>
      <dc:creator>Mauro Gatti</dc:creator>
      <dc:date>2004-09-01T06:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369540#M867704</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for those worst cases it would be the best if you have installed ssh.&lt;BR /&gt;Thank you can connect to the server as root (if your public key is on the system)even if you don't knot the root password.&lt;BR /&gt;&lt;BR /&gt;Maybe that's for the future.&lt;BR /&gt;&lt;BR /&gt;Bye&lt;BR /&gt;Elif</description>
      <pubDate>Wed, 01 Sep 2004 09:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/3369540#M867704</guid>
      <dc:creator>Elif Gius</dc:creator>
      <dc:date>2004-09-01T09:34:13Z</dc:date>
    </item>
  </channel>
</rss>

