<?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 root password locked on a vpar in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014410#M299207</link>
    <description>$ uname -a&lt;BR /&gt;HP-UX devsap02 B.11.23 U ia64 0858625482 unlimited-user license&lt;BR /&gt;$ model&lt;BR /&gt;ia64 hp superdome server SD32B&lt;BR /&gt;&lt;BR /&gt;This system is split into 2 vars on 1 npar. On one of the vpars the root profile has been locked and I do not know what the root password is.&lt;BR /&gt;The system is also trusted.&lt;BR /&gt;&lt;BR /&gt;I need to be able to unlock and reset the root password.&lt;BR /&gt;&lt;BR /&gt;I believe that this can only be done in single user mode.&lt;BR /&gt;I am currently in a position where I can shutdown the vpar I am having problems with, but only have a user account which does not have permission to the shutdown command.&lt;BR /&gt;I don't know how to reboot a vpar other than through the shutdown command. I can do a RS or BO from the GSP but don't know if this will reboot the whole complex(npar) rather than just the individual vpar.&lt;BR /&gt;&lt;BR /&gt;Also, once in single user mode is it just a matter of doing /usr/lbin/tsconvert -r and then passwd root to reset, or do I need to know the current root password to do this?&lt;BR /&gt;&lt;BR /&gt;Being fairly new to HP-UX any help will be greatly appreciated.&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Jun 2007 09:10:03 GMT</pubDate>
    <dc:creator>Phil R,</dc:creator>
    <dc:date>2007-06-06T09:10:03Z</dc:date>
    <item>
      <title>root password locked on a vpar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014410#M299207</link>
      <description>$ uname -a&lt;BR /&gt;HP-UX devsap02 B.11.23 U ia64 0858625482 unlimited-user license&lt;BR /&gt;$ model&lt;BR /&gt;ia64 hp superdome server SD32B&lt;BR /&gt;&lt;BR /&gt;This system is split into 2 vars on 1 npar. On one of the vpars the root profile has been locked and I do not know what the root password is.&lt;BR /&gt;The system is also trusted.&lt;BR /&gt;&lt;BR /&gt;I need to be able to unlock and reset the root password.&lt;BR /&gt;&lt;BR /&gt;I believe that this can only be done in single user mode.&lt;BR /&gt;I am currently in a position where I can shutdown the vpar I am having problems with, but only have a user account which does not have permission to the shutdown command.&lt;BR /&gt;I don't know how to reboot a vpar other than through the shutdown command. I can do a RS or BO from the GSP but don't know if this will reboot the whole complex(npar) rather than just the individual vpar.&lt;BR /&gt;&lt;BR /&gt;Also, once in single user mode is it just a matter of doing /usr/lbin/tsconvert -r and then passwd root to reset, or do I need to know the current root password to do this?&lt;BR /&gt;&lt;BR /&gt;Being fairly new to HP-UX any help will be greatly appreciated.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jun 2007 09:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014410#M299207</guid>
      <dc:creator>Phil R,</dc:creator>
      <dc:date>2007-06-06T09:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: root password locked on a vpar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014411#M299208</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can use "vparreset" to "crash" and reset  the running vPar from the second.</description>
      <pubDate>Wed, 06 Jun 2007 09:15:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014411#M299208</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-06-06T09:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: root password locked on a vpar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014412#M299209</link>
      <description>logon to the gsp/mp. go to the partition console and then use ctrl-a to go to the vpar. then logon as root and unlock the account.&lt;BR /&gt;&lt;BR /&gt;# /usr/lbin/modprpw -k root&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jun 2007 09:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014412#M299209</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-06-06T09:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: root password locked on a vpar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014413#M299210</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can use "vparreset" to "crash" and reset  the running vPar from the second.&lt;BR /&gt;&lt;BR /&gt;First, try a soft reset:&lt;BR /&gt;winona1# vparreset -p winona2 -t&lt;BR /&gt;&lt;BR /&gt;If this doesn't work (but it will), run a hard reset:&lt;BR /&gt;winona1# vparreset -p winona2 -h&lt;BR /&gt;&lt;BR /&gt;Once it is stopped, start it in single user mode:&lt;BR /&gt;&lt;BR /&gt;a) winona1# vparboot -p winona2 -o â  -isâ  &lt;BR /&gt;or&lt;BR /&gt;b) MON&amp;gt; vparload -p winona2 -o "-is"</description>
      <pubDate>Wed, 06 Jun 2007 09:17:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014413#M299210</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-06-06T09:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: root password locked on a vpar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014414#M299211</link>
      <description>also if you have sudo setup. you could use &lt;BR /&gt;&lt;BR /&gt;# sudo -i&lt;BR /&gt;&lt;BR /&gt;to change to root and then execute the aforementioned command.</description>
      <pubDate>Wed, 06 Jun 2007 09:18:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014414#M299211</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-06-06T09:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: root password locked on a vpar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014415#M299212</link>
      <description>I can't give advice on rebooting the VPAR as I have never worked with it.&lt;BR /&gt;&lt;BR /&gt;However, the matter of reactivating root is relatively easy.&lt;BR /&gt;&lt;BR /&gt;Once you manage to come up in single user mode, do the following:&lt;BR /&gt;&lt;BR /&gt;You should not need to know the root password for any of this.&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y vg00&lt;BR /&gt;# mount /usr&lt;BR /&gt;# mount /var&lt;BR /&gt;# mount /tmp&lt;BR /&gt;&lt;BR /&gt;To reactivate root:&lt;BR /&gt;&lt;BR /&gt;# /usr/lbin/modprpw -k root&lt;BR /&gt;&lt;BR /&gt;To change the root password, since you don't know it:&lt;BR /&gt;&lt;BR /&gt;# vi /tcb/files/auth/r/root&lt;BR /&gt;Change the :u_pwd line so that it looks like:&lt;BR /&gt;&lt;BR /&gt;:u_pwd=:\&lt;BR /&gt;&lt;BR /&gt;You are removing the encrypted password here.  Since you don't know the root password, you must do this before you can change it.&lt;BR /&gt;&lt;BR /&gt;Now just issue the passwd command to create a new password.&lt;BR /&gt;&lt;BR /&gt;# passwd root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;P.S.  This is why it is a good idea to have some sort of "back door" that you can use to do things.  'sudo' is a good utility to install that allows you to run commands as root, without being root.  If set up correctly sudo would allow you to do what you need to change the root password and reactivate root without rebooting the machine.</description>
      <pubDate>Wed, 06 Jun 2007 09:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014415#M299212</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-06-06T09:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: root password locked on a vpar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014416#M299213</link>
      <description>If you use the console to log on, you should be successfull without bringing the vPar down.&lt;BR /&gt;Remember the given commands for future reference.&lt;BR /&gt;Good luck!</description>
      <pubDate>Wed, 06 Jun 2007 09:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-locked-on-a-vpar/m-p/4014416#M299213</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-06-06T09:20:47Z</dc:date>
    </item>
  </channel>
</rss>

