<?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: Reset root password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860974#M96128</link>
    <description>1.      Boot from the 10.20 CORE OS cdrom&lt;BR /&gt;&lt;BR /&gt;2.      Select run a recovery shell from menu. Say no to the&lt;BR /&gt;        startup networking question.&lt;BR /&gt;&lt;BR /&gt;        The next steps involve running the command loadfile to acquire&lt;BR /&gt;        the executable from the CD:&lt;BR /&gt;&lt;BR /&gt;3.      loadfile /sbin/pvcreate&lt;BR /&gt;4.      loadfile /sbin/vgimport&lt;BR /&gt;5.      loadfile /sbin/vgchange&lt;BR /&gt;6.      loadfile /sbin/mknod  If this command does not load, you can try&lt;BR /&gt;        to access it when needed by using the full path.&lt;BR /&gt;7.      loadfile mkdir&lt;BR /&gt;&lt;BR /&gt;        These files should allow creation of a LVM VG:&lt;BR /&gt;&lt;BR /&gt;8.      mkdir /dev/vg00&lt;BR /&gt;9.      mknod /dev/vg00/group c 64 0x000000&lt;BR /&gt;10.     vgimport /dev/vg00 /dev/dsk/cXtXdX      (where the X's are&lt;BR /&gt;        replaced with numbers to indicate the boot disk -- your configuration&lt;BR /&gt;        may vary. Note that if there are multiple disks in the volume group,&lt;BR /&gt;        all of the device files must be specified on one command line.)&lt;BR /&gt;&lt;BR /&gt;        To determine the correct disk device file:&lt;BR /&gt;        a. loadfile ll&lt;BR /&gt;        b. ll /dev/dsk&lt;BR /&gt;        c. select the appropriate disk device file and use it in the vgimport&lt;BR /&gt;           command&lt;BR /&gt;&lt;BR /&gt;11.     vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;        If this went successfully then importation of the LVM VG is complete.&lt;BR /&gt;        The next steps release some space in the RAM filesystem for future use.&lt;BR /&gt;&lt;BR /&gt;12.     rm /sbin/pvcreate&lt;BR /&gt;13.     rm /sbin/vgimport&lt;BR /&gt;14.     rm /sbin/vgchange&lt;BR /&gt;&lt;BR /&gt;        The next steps are to mount the root file system on the boot disk.&lt;BR /&gt;        It may be either hfs or vxfs, change the relevant word in the loadfile&lt;BR /&gt;        command to match:&lt;BR /&gt;&lt;BR /&gt;15.     loadfile /sbin/mount&lt;BR /&gt;16.     loadfile /sbin/fs/hfs/mount&lt;BR /&gt;17.     mkdir /myroot&lt;BR /&gt;18.     mount /dev/vg00/lvol3 /myroot   (this is assuming the /&lt;BR /&gt;        filesystem is on lvol3 - it usually is, but no guarantees.  Again, good&lt;BR /&gt;        documentation is essential)&lt;BR /&gt;&lt;BR /&gt;        The next steps are to remove the unknown password from root's ID:&lt;BR /&gt;&lt;BR /&gt;19.     loadfile ex&lt;BR /&gt;20.     loadfile vi&lt;BR /&gt;21.     loadfile /usr/lib/libcurses.1&lt;BR /&gt;22.     cd /myroot/tcb/files/auth/r&lt;BR /&gt;23.     vi root&lt;BR /&gt;        Here in vi find the stanza with u_pwd and remove the&lt;BR /&gt;        encrypted password after the equal sign and before the colon. Leave the&lt;BR /&gt;        other lines alone.&lt;BR /&gt;24.     Save the file:&lt;BR /&gt;        escape :wq&lt;BR /&gt;25.     reboot&lt;BR /&gt;26.     Perform the actions necessary to get to single-user mode - this will&lt;BR /&gt;        vary based upon platform but essentially get to the ISL prompt and&lt;BR /&gt;        enter the command "hpux -is"&lt;BR /&gt;27.     The system will boot and finally ask for an ID - enter root.&lt;BR /&gt;28.     When finished, verify the date. This procedure has been known to change&lt;BR /&gt;        the system date.&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Dec 2002 09:12:43 GMT</pubDate>
    <dc:creator>Armin Feller</dc:creator>
    <dc:date>2002-12-11T09:12:43Z</dc:date>
    <item>
      <title>Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860964#M96118</link>
      <description>I change the root password on one of the machine last week but I can't recall it. Could I reset root password?</description>
      <pubDate>Tue, 10 Dec 2002 10:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860964#M96118</guid>
      <dc:creator>nck2pg2</dc:creator>
      <dc:date>2002-12-10T10:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860965#M96119</link>
      <description>Hi,&lt;BR /&gt; restart the system in single user mode (HPUX -is) and edit /etc/passwd file. Remove paswword fields for root user.&lt;BR /&gt;&lt;BR /&gt;It's the only way to change root password.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jerome</description>
      <pubDate>Tue, 10 Dec 2002 10:21:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860965#M96119</guid>
      <dc:creator>Jerome Baron</dc:creator>
      <dc:date>2002-12-10T10:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860966#M96120</link>
      <description>Only by booting the system in single usermode and then resetting the password.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 10 Dec 2002 10:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860966#M96120</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2002-12-10T10:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860967#M96121</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;get into single user mode&lt;BR /&gt;# passwd root&lt;BR /&gt;&lt;BR /&gt;typein the new password&lt;BR /&gt;#init 3&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Dec 2002 10:32:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860967#M96121</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-12-10T10:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860968#M96122</link>
      <description>Reboot the machine ...&lt;BR /&gt;Interupt the boot Process&lt;BR /&gt;bo&lt;BR /&gt;Interact with IPL Y/N : "Y" (Respawn Y)&lt;BR /&gt;hpux -is&lt;BR /&gt;here u will get the root login w/o supplying a password &lt;BR /&gt;&lt;BR /&gt;#passwd root&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;#vi /etc/passwd&lt;BR /&gt;null the passwd field for root user.&lt;BR /&gt;&lt;BR /&gt;kaps</description>
      <pubDate>Tue, 10 Dec 2002 10:33:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860968#M96122</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2002-12-10T10:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860969#M96123</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Another possibility is if you remember a system listed in the root .rhost file whose password is lost, use rlogin from it (sometimes in service guard clusters for example, .rhost is used instead of cmclnodelist). Last hope before single user mode ... :^)&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 10 Dec 2002 10:36:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860969#M96123</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-12-10T10:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860970#M96124</link>
      <description>Hi &lt;BR /&gt;Guys Are Right Over Here But If Your system is trusted and the Security Flag is set to ON in the Boot Menu . Her's the Info for you &lt;BR /&gt; Before Starting Remove the Power to The HDD and boot the Machine and from the &lt;BR /&gt;Main Menu&amp;gt; co &lt;BR /&gt;Main Menu&amp;gt; Configuration&amp;gt; Set Sec OFF &lt;BR /&gt;and Now connect the Power to HDD and Start the Machine. Now interrup the Sequence &amp;amp; Boot in Single User Mode If it's not a Trusted System it's Fine , If It's a Trusted System run this command &lt;BR /&gt;# /usr/lbin/tsconvert -r &lt;BR /&gt;(mount The /usr if not mounted )&lt;BR /&gt;&lt;BR /&gt;Hope this shuld resolve .. &lt;BR /&gt;&lt;BR /&gt;Good Luck &lt;BR /&gt;Asif</description>
      <pubDate>Tue, 10 Dec 2002 10:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860970#M96124</guid>
      <dc:creator>donne007</dc:creator>
      <dc:date>2002-12-10T10:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860971#M96125</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;Need urgent help. I went in with single user mode and do&lt;BR /&gt;# passwd root&lt;BR /&gt;&lt;BR /&gt;it prompt me the old password.&lt;BR /&gt;&lt;BR /&gt;Somehow when I null the /etc/passwd. It doesn't work also.&lt;BR /&gt;&lt;BR /&gt;Getting worst is I cahnge one of my user account just now under single user mode (actually I tried this because the root promt for old password, so I did # passwd user, then I key in new password and everything was O.K.)&lt;BR /&gt;After reboot, try to login with the user then I get this&lt;BR /&gt;&lt;BR /&gt;Account locked in the commercial security database. I can't do anything seems this is the only user account I have, Help please, week of trouble.</description>
      <pubDate>Wed, 11 Dec 2002 09:01:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860971#M96125</guid>
      <dc:creator>nck2pg2</dc:creator>
      <dc:date>2002-12-11T09:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860972#M96126</link>
      <description>okay, looks like you have a trusted system.&lt;BR /&gt;&lt;BR /&gt;# mount /usr&lt;BR /&gt;# /usr/lbin/modprpw -k root&lt;BR /&gt;&lt;BR /&gt;Change the root password.</description>
      <pubDate>Wed, 11 Dec 2002 09:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860972#M96126</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-12-11T09:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860973#M96127</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;are you connected to the system?&lt;BR /&gt;&lt;BR /&gt;If YES, then untrust the system first:&lt;BR /&gt;&lt;BR /&gt;?? From the SAM menu, I selected Auditing and Security --&amp;gt;&lt;BR /&gt;        Audited Events --&amp;gt; Actions --&amp;gt; Unconvert System.&lt;BR /&gt;&lt;BR /&gt;?? From cammandline&lt;BR /&gt;        tsconvert -r&lt;BR /&gt;&lt;BR /&gt;If NOT, I'm not sure what to do ;-(&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Armin</description>
      <pubDate>Wed, 11 Dec 2002 09:08:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860973#M96127</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-11T09:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860974#M96128</link>
      <description>1.      Boot from the 10.20 CORE OS cdrom&lt;BR /&gt;&lt;BR /&gt;2.      Select run a recovery shell from menu. Say no to the&lt;BR /&gt;        startup networking question.&lt;BR /&gt;&lt;BR /&gt;        The next steps involve running the command loadfile to acquire&lt;BR /&gt;        the executable from the CD:&lt;BR /&gt;&lt;BR /&gt;3.      loadfile /sbin/pvcreate&lt;BR /&gt;4.      loadfile /sbin/vgimport&lt;BR /&gt;5.      loadfile /sbin/vgchange&lt;BR /&gt;6.      loadfile /sbin/mknod  If this command does not load, you can try&lt;BR /&gt;        to access it when needed by using the full path.&lt;BR /&gt;7.      loadfile mkdir&lt;BR /&gt;&lt;BR /&gt;        These files should allow creation of a LVM VG:&lt;BR /&gt;&lt;BR /&gt;8.      mkdir /dev/vg00&lt;BR /&gt;9.      mknod /dev/vg00/group c 64 0x000000&lt;BR /&gt;10.     vgimport /dev/vg00 /dev/dsk/cXtXdX      (where the X's are&lt;BR /&gt;        replaced with numbers to indicate the boot disk -- your configuration&lt;BR /&gt;        may vary. Note that if there are multiple disks in the volume group,&lt;BR /&gt;        all of the device files must be specified on one command line.)&lt;BR /&gt;&lt;BR /&gt;        To determine the correct disk device file:&lt;BR /&gt;        a. loadfile ll&lt;BR /&gt;        b. ll /dev/dsk&lt;BR /&gt;        c. select the appropriate disk device file and use it in the vgimport&lt;BR /&gt;           command&lt;BR /&gt;&lt;BR /&gt;11.     vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;        If this went successfully then importation of the LVM VG is complete.&lt;BR /&gt;        The next steps release some space in the RAM filesystem for future use.&lt;BR /&gt;&lt;BR /&gt;12.     rm /sbin/pvcreate&lt;BR /&gt;13.     rm /sbin/vgimport&lt;BR /&gt;14.     rm /sbin/vgchange&lt;BR /&gt;&lt;BR /&gt;        The next steps are to mount the root file system on the boot disk.&lt;BR /&gt;        It may be either hfs or vxfs, change the relevant word in the loadfile&lt;BR /&gt;        command to match:&lt;BR /&gt;&lt;BR /&gt;15.     loadfile /sbin/mount&lt;BR /&gt;16.     loadfile /sbin/fs/hfs/mount&lt;BR /&gt;17.     mkdir /myroot&lt;BR /&gt;18.     mount /dev/vg00/lvol3 /myroot   (this is assuming the /&lt;BR /&gt;        filesystem is on lvol3 - it usually is, but no guarantees.  Again, good&lt;BR /&gt;        documentation is essential)&lt;BR /&gt;&lt;BR /&gt;        The next steps are to remove the unknown password from root's ID:&lt;BR /&gt;&lt;BR /&gt;19.     loadfile ex&lt;BR /&gt;20.     loadfile vi&lt;BR /&gt;21.     loadfile /usr/lib/libcurses.1&lt;BR /&gt;22.     cd /myroot/tcb/files/auth/r&lt;BR /&gt;23.     vi root&lt;BR /&gt;        Here in vi find the stanza with u_pwd and remove the&lt;BR /&gt;        encrypted password after the equal sign and before the colon. Leave the&lt;BR /&gt;        other lines alone.&lt;BR /&gt;24.     Save the file:&lt;BR /&gt;        escape :wq&lt;BR /&gt;25.     reboot&lt;BR /&gt;26.     Perform the actions necessary to get to single-user mode - this will&lt;BR /&gt;        vary based upon platform but essentially get to the ISL prompt and&lt;BR /&gt;        enter the command "hpux -is"&lt;BR /&gt;27.     The system will boot and finally ask for an ID - enter root.&lt;BR /&gt;28.     When finished, verify the date. This procedure has been known to change&lt;BR /&gt;        the system date.&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Dec 2002 09:12:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860974#M96128</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-11T09:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860975#M96129</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;Done. &lt;BR /&gt;&lt;BR /&gt;1. boot into single user mode.&lt;BR /&gt;2. /usr/lbin/tsconvert -r.&lt;BR /&gt;3. vi /etc/passwd, null the password.&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Thu, 12 Dec 2002 06:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-root-password/m-p/2860975#M96129</guid>
      <dc:creator>nck2pg2</dc:creator>
      <dc:date>2002-12-12T06:51:34Z</dc:date>
    </item>
  </channel>
</rss>

