<?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: Lost root password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552213#M28279</link>
    <description>I had the same problem the other day.  All I needed to do was reboot into single user mode then issue the passwd command - which allowed me login afterwards with the new password.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Jo</description>
    <pubDate>Fri, 13 Jul 2001 00:01:08 GMT</pubDate>
    <dc:creator>Joanne Keegan</dc:creator>
    <dc:date>2001-07-13T00:01:08Z</dc:date>
    <item>
      <title>Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552211#M28277</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I couldn't log on root with the only password that I have. Please advise me how to be able to get to the system from root.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Thu, 12 Jul 2001 21:59:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552211#M28277</guid>
      <dc:creator>Jessica Nguyen</dc:creator>
      <dc:date>2001-07-12T21:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552212#M28278</link>
      <description>If you don't know the root password, there's not a whole lot you can do, but there are a couple of things.&lt;BR /&gt;&lt;BR /&gt;1)  Reboot the machine, go into single user mode, mount all of your root file systems and edit the passwd file and remove the root passwd.  Then reset the passwd to something you know.&lt;BR /&gt;&lt;BR /&gt;2)  If you happen to have sudo installed and have a user set up that has all access, including su to root, then you can do a 'sudo su -' and get to root.  If you don't have sudo, you can't install it without being root.&lt;BR /&gt;&lt;BR /&gt;Other than that you're kind of stuck.  As always, make sure you are typeing in what you thing you are.  Make sure CAPS LOCK is not turned on.  I know I've done that before.&lt;BR /&gt;&lt;BR /&gt;Good luck.</description>
      <pubDate>Thu, 12 Jul 2001 22:07:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552212#M28278</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-07-12T22:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552213#M28279</link>
      <description>I had the same problem the other day.  All I needed to do was reboot into single user mode then issue the passwd command - which allowed me login afterwards with the new password.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Jo</description>
      <pubDate>Fri, 13 Jul 2001 00:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552213#M28279</guid>
      <dc:creator>Joanne Keegan</dc:creator>
      <dc:date>2001-07-13T00:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552214#M28280</link>
      <description>Hi:&lt;BR /&gt;The answer depend on your OS:&lt;BR /&gt;If your use HP-UX:&lt;BR /&gt; Then reboot the machine and break it into single user mode, enter "hpux -is", then enter command " mountall" , then change the root passwd.&lt;BR /&gt;If you use Solaris:&lt;BR /&gt;Then you can upgrade your system with the CD.And change the root passwd upon the system ask for root passwd.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this can help you!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jul 2001 00:47:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552214#M28280</guid>
      <dc:creator>leereg_5</dc:creator>
      <dc:date>2001-07-13T00:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552215#M28281</link>
      <description>Hi Jessica,&lt;BR /&gt;&lt;BR /&gt;The following response is one I posted to another root password problem on this forum some time ago, it may have some relevance to your problem.  Particularly if you have C2 security activated on your system and booting to single user mode requires the root password.&lt;BR /&gt;&lt;BR /&gt;If the root account is disabled on a trusted system and single user mode requires the root password, try the following (this works for HP-UX 10.20, haven't tried it on an 11.0 server).&lt;BR /&gt;&lt;BR /&gt;NOTE: Before powering off the server, manually shutdown all applications and databases, (hopefully these do not run as root!!!) as this will prevent possible data corruption, etc.&lt;BR /&gt;&lt;BR /&gt;1. Power off the server &lt;BR /&gt;&lt;BR /&gt;2. Insert the Recovery CD &lt;BR /&gt;&lt;BR /&gt;3. Power server on, interrupt the boot process, select the CD device to boot from and interact with the IPL. &lt;BR /&gt;&lt;BR /&gt;4. Type 800support (for servers) or 700support (for workstations) &lt;BR /&gt;&lt;BR /&gt;5. Select [ Run a Recovery Shell ] &lt;BR /&gt;&lt;BR /&gt;6. Exit to the shell prompt and mount the root ( / ) file system by typing the following, chroot_lvmdisk and follow the prompts (need to know the hardware path and device filename of the root disk). &lt;BR /&gt;&lt;BR /&gt;7. Once the root file system is mounted (should be mounted on /ROOT), edit the password database for the root account. &lt;BR /&gt;NOTE: May need to load the vi, ex and libcurses.1 files before attempting to edit the following file. &lt;BR /&gt;cd /tcb/files/auth/r &lt;BR /&gt;cp root root.old &lt;BR /&gt;vi root &lt;BR /&gt;Remove the encrypted password string from the line that begins with :u_pwd= and save the file. The line should look like this after editing :u_pwd=: &lt;BR /&gt;&lt;BR /&gt;8. Exit to the Recovery Menu and then reboot the server to single user mode. The system should request a login, type root and then just press ENTER for the password field (as it is blank). Reset the password as necessary.</description>
      <pubDate>Fri, 13 Jul 2001 03:05:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552215#M28281</guid>
      <dc:creator>David Allen</dc:creator>
      <dc:date>2001-07-13T03:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Lost root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552216#M28282</link>
      <description>&lt;BR /&gt;   Hi&lt;BR /&gt;&lt;BR /&gt;   Here are two options for U&lt;BR /&gt;&lt;BR /&gt;Option 1&lt;BR /&gt;&lt;BR /&gt;   Reboot the system, While rebooting press and hold Esc key and go to ISL prompt. In ISL prompt, Type like this to go to single user mode.&lt;BR /&gt;ISL&amp;gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;   Now U will get # prompt, There U can change the root passwd.&lt;BR /&gt;&lt;BR /&gt;Option 2&lt;BR /&gt;&lt;BR /&gt;   If ur box is connected to Network and .rhosts file exists in /, U can rlogin to this machine from some other machine. But U should be root user in that machine.&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Shahul</description>
      <pubDate>Fri, 13 Jul 2001 08:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-root-password/m-p/2552216#M28282</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2001-07-13T08:57:09Z</dc:date>
    </item>
  </channel>
</rss>

