<?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/2513564#M22528</link>
    <description>You need to reboot into single user mode. To do this in HP-UX issue the shutdown -r now command. When the system is starting to boot up, it will say you have 10 seconds to interrupt boot. Do this. Then type:&lt;BR /&gt;bo&lt;BR /&gt;It will ask you if you want to interact with ISL, type y. Once at the ISL&amp;gt; prompt type:&lt;BR /&gt;ISL&amp;gt;hpux -is&lt;BR /&gt;This will bring you into single user mode. Mount your filesystems and issue the password command. Then type reboot and you should be all set.</description>
    <pubDate>Wed, 04 Apr 2001 16:59:54 GMT</pubDate>
    <dc:creator>Jim Moffitt_1</dc:creator>
    <dc:date>2001-04-04T16:59:54Z</dc:date>
    <item>
      <title>forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/2513562#M22526</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I have a customer that has forgotten their root password.  I have recovered from this situation using Solaris, but not HPUX.  I am assuming I can do something like boot from the HPUX CD.  Is this correct.  Can someone point me in a direction that I can provide my clients (very non-unix types) a step-by-step process?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Grant&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2001 16:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/2513562#M22526</guid>
      <dc:creator>Grant Wenstrand</dc:creator>
      <dc:date>2001-04-04T16:49: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/2513563#M22527</link>
      <description>If there is a root window open to the machine, it can be shut down first, otherwise you have to just power it off.&lt;BR /&gt;&lt;BR /&gt;ON power up, it will present the boot menu and tell you to interrupt it in 10 seconds if you need to.  You want to hit the enter key here and then type in bo pri -is&lt;BR /&gt;&lt;BR /&gt;This will boot to single user mode where they can issue the command passwd to change the root password.&lt;BR /&gt;&lt;BR /&gt;They will then want to reboot the machine.</description>
      <pubDate>Wed, 04 Apr 2001 16:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/2513563#M22527</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-04-04T16:54:45Z</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/2513564#M22528</link>
      <description>You need to reboot into single user mode. To do this in HP-UX issue the shutdown -r now command. When the system is starting to boot up, it will say you have 10 seconds to interrupt boot. Do this. Then type:&lt;BR /&gt;bo&lt;BR /&gt;It will ask you if you want to interact with ISL, type y. Once at the ISL&amp;gt; prompt type:&lt;BR /&gt;ISL&amp;gt;hpux -is&lt;BR /&gt;This will bring you into single user mode. Mount your filesystems and issue the password command. Then type reboot and you should be all set.</description>
      <pubDate>Wed, 04 Apr 2001 16:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/2513564#M22528</guid>
      <dc:creator>Jim Moffitt_1</dc:creator>
      <dc:date>2001-04-04T16:59: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/2513565#M22529</link>
      <description>You can reboot the machine by typeing  CLT-B  then use the command to reset. From there interupt the boot and go into single user mode.   It's always better to cleanly shutdown the system.  Check the shutdown.allow file to see if there is a user you can log in as to cleanly shutdown the system.  Also a user might have "restricted SAM" access.  if they do, you can use SAM to fix this problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I posted a bit of info on recovery and prevention a while back.  Hope it helps&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x3475dfe5920fd5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x3475dfe5920fd5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Brian.</description>
      <pubDate>Wed, 04 Apr 2001 19:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/2513565#M22529</guid>
      <dc:creator>Brian Markus</dc:creator>
      <dc:date>2001-04-04T19:24:52Z</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/2513566#M22530</link>
      <description>I'm assuming no root window open. If there were, you would just issue the passwd command.&lt;BR /&gt;&lt;BR /&gt;##non trusted system&lt;BR /&gt;turn power off&lt;BR /&gt;break boot sequence&lt;BR /&gt;type "boot pri"&lt;BR /&gt;answer "y" to interact with ipl&lt;BR /&gt;type "hpux -is" (boots in single user)&lt;BR /&gt;fsck /dev/dsk/???? (/usr/disk/device)&lt;BR /&gt;mount /usr&lt;BR /&gt;at prompt type "passwd root" (Change your password)&lt;BR /&gt;type "reboot"&lt;BR /&gt;&lt;BR /&gt;##trusted system with no passwd on single user&lt;BR /&gt;same as prior.&lt;BR /&gt;&lt;BR /&gt;##trusted system with passwd on single user&lt;BR /&gt;put core_os cdrom in drive&lt;BR /&gt;turn power off&lt;BR /&gt;break boot sequence&lt;BR /&gt;boot (cdrom hardware path)&lt;BR /&gt;answer "n" to interact with IPL&lt;BR /&gt;at the menu go to the recovery shell&lt;BR /&gt;fsck /dev/dsk/(your / device driver)&lt;BR /&gt;I'm not sure but i think it is /mnt (dir for mounting on the cdrom) check this&lt;BR /&gt;mount /dev/dsk/(your / device) /mnt&lt;BR /&gt;cd /mnt/tcb/files/auth/r&lt;BR /&gt;cp -p root root.bak&lt;BR /&gt;vi root&lt;BR /&gt;go down to the u_pwd variable&lt;BR /&gt;remove everything between the = and the :&lt;BR /&gt;type reboot&lt;BR /&gt;you should be able to login with no password&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;...jcd...&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2001 19:42:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forgot-root-password/m-p/2513566#M22530</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-04-04T19:42:40Z</dc:date>
    </item>
  </channel>
</rss>

