<?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: root account disabled - how to enable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455075#M744155</link>
    <description>Some further info on this: I've tried Patrick's solution of having someone at the console login as root and run the &lt;BR /&gt;/usr/lbin/modprpw -k root&lt;BR /&gt;command, but he isn't able to login. The message is that the account is locked in the commercial security database. &lt;BR /&gt;&lt;BR /&gt;Assuming that we boot into single user and mount /usr read-write, what needs to be changed to allow root's account to be enabled again? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Steve Grantham&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 04 Jan 2005 14:40:34 GMT</pubDate>
    <dc:creator>Steve Grantham_1</dc:creator>
    <dc:date>2005-01-04T14:40:34Z</dc:date>
    <item>
      <title>root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455073#M744153</link>
      <description>All, &lt;BR /&gt;&lt;BR /&gt;My company operates a development shop, and one of our HP-UX 11.11 servers is configured as a trusted system to mirror client configurations. In our testing, the root account has become disabled--when I su or attempt to login, I get a message informing me of that fact. &lt;BR /&gt;&lt;BR /&gt;Complicating this problem is the fact that this server is located across the country from our (my) office, but there is a (non technical) person located there who can follow directions. &lt;BR /&gt;&lt;BR /&gt;How do I resolve this?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, &lt;BR /&gt;Steve Grantham&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Jan 2005 11:11:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455073#M744153</guid>
      <dc:creator>Steve Grantham_1</dc:creator>
      <dc:date>2005-01-04T11:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455074#M744154</link>
      <description>Is there a console attached to the machine?  Does it have a web console?&lt;BR /&gt;&lt;BR /&gt;If it has a web console you should be able to login that way and re-enable root.&lt;BR /&gt;&lt;BR /&gt;If there is a direct attached console, then have the person at the location log in from the console and the reactivate root.&lt;BR /&gt;&lt;BR /&gt;To reactivate once logged in do:&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/modprpw -k root</description>
      <pubDate>Tue, 04 Jan 2005 11:16:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455074#M744154</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-01-04T11:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455075#M744155</link>
      <description>Some further info on this: I've tried Patrick's solution of having someone at the console login as root and run the &lt;BR /&gt;/usr/lbin/modprpw -k root&lt;BR /&gt;command, but he isn't able to login. The message is that the account is locked in the commercial security database. &lt;BR /&gt;&lt;BR /&gt;Assuming that we boot into single user and mount /usr read-write, what needs to be changed to allow root's account to be enabled again? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Steve Grantham&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Jan 2005 14:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455075#M744155</guid>
      <dc:creator>Steve Grantham_1</dc:creator>
      <dc:date>2005-01-04T14:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455076#M744156</link>
      <description>Hi Steve&lt;BR /&gt;&lt;BR /&gt;If you are able to log into single user mode, then it won't ask for a root password. Since this is a trusted system, you can either edit the /tcb/auth/files/r/root file and remove the entry against the lock keyword or use sam and enable the account.</description>
      <pubDate>Wed, 05 Jan 2005 01:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455076#M744156</guid>
      <dc:creator>bhoopathi_1</dc:creator>
      <dc:date>2005-01-05T01:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455077#M744157</link>
      <description>Instead of console, have you tried logging in via secure web console, or dumb terminal attached to serial port A?  That'd be my first choice.&lt;BR /&gt;The last ditch effort to fix this is to boot the system from the CDROM.  You can then escape to a shell, and mount the /usr filesystem to a temporary directory.  Once there, you can restore the /usr/tcb directory from a backup tape.  &lt;BR /&gt;Alternatively, you can mount the various and sundry filesystems to the RAM disk and mess with modprpw to fix the root account.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 05 Jan 2005 10:50:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455077#M744157</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2005-01-05T10:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455078#M744158</link>
      <description>If root on a trusted system becomes disabled you can always log in as root from the serial console.</description>
      <pubDate>Wed, 05 Jan 2005 15:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455078#M744158</guid>
      <dc:creator>Edward McCouch</dc:creator>
      <dc:date>2005-01-05T15:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455079#M744159</link>
      <description>Are you sure that the remote user is using the "REAL" system console, and not a telnet or Xwindow connection from a PC in the office? This can be any type of terminal (including a Windows-based emulator) connected to the serial console port in the computer room. The disabled status is overridden by the fact that the user has access to the console. For a standard HP server, the terminal would be a 700/92 or 700/96. If the user is on the real console, typing CTRL-B will bring up a CM&amp;gt; prompt which comes from the processor ROMs. There are a couple of exceptions for CTRL-B...what model HP server do you hve? &lt;BR /&gt; &lt;BR /&gt;Very important: you don't want to go into single user mode unless the user is on the real console--you'll lose control of the system.</description>
      <pubDate>Wed, 05 Jan 2005 22:10:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455079#M744159</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-01-05T22:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455080#M744160</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;In extreme case, &lt;BR /&gt;use /usr/lbin/tsconvert -r to revert from &lt;BR /&gt;trusted system, so you can change password in single user mode.&lt;BR /&gt;&lt;BR /&gt;Thomas</description>
      <pubDate>Thu, 06 Jan 2005 01:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455080#M744160</guid>
      <dc:creator>Thomas Lee_1</dc:creator>
      <dc:date>2005-01-06T01:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455081#M744161</link>
      <description>To all who've responded, &lt;BR /&gt;&lt;BR /&gt;Thanks very much for your input so far. The remote user swears he is sitting at "the system console" when he tries to log in. No way I can check that, since he's 3000 miles away, but he's a savvy developer and undoubtedly knows what console I'm referring to. &lt;BR /&gt;&lt;BR /&gt;The 'server' is a j5000 running hp-ux 11.11. My understanding of hp web console is that it has to have been installed and configured prior to losing the root account, which--alas--wasn't the case. &lt;BR /&gt;&lt;BR /&gt;We've scheduled time today to boot into single-user and I'll walk him through either a manual fix on /tcb/auth/files/r/root or by using sam to unlock the account. I'll post the results of this endeavor later today. &lt;BR /&gt;&lt;BR /&gt;Thanks again for your help,&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 08:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455081#M744161</guid>
      <dc:creator>Steve Grantham_1</dc:creator>
      <dc:date>2005-01-06T08:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455082#M744162</link>
      <description>OK, since a J5000 is technically a workstation, that may make a bit of a difference.&lt;BR /&gt;&lt;BR /&gt;If the default is to log into CDE, then that might be part of the problem.&lt;BR /&gt;&lt;BR /&gt;At the main CDE login panel, from the SESSIONS (I think) button choose "Command Line login" and then try logging in again as root.</description>
      <pubDate>Thu, 06 Jan 2005 09:08:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455082#M744162</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-01-06T09:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455083#M744163</link>
      <description>Even though a J5000 is a workstation, the serial console is still the best place to login.  Try to hook some sort of serial terminal to that port.  It doesn't have to be a dumb terminal, but could be a PC running hyperterm.  You'll need a PC, the appropriate cables (the HP box has 9 pin connectors, your PC could have either 9 pin, 25 pin, or both) and a null modem.  The null modems are widely available at any number of computer cable suppliers.  Set the communication parameters for 9600 baud, 8 bits, 1 stop bit, no parity.  Choose either ttyA or ttyB (whichever you have the cable on) and vt100 emulation.  You should get a login prompt.&lt;BR /&gt;&lt;BR /&gt;The secure web console DOES NOT have to be configured prior to losing root.  Configuring one means that you need a ethernet crossover cable connected to it, and another system running a web browser.  The SWC is, for all intents and purposes, a serial console running inside a browser.  If you can get this up and running, then you can do everything as though you're sitting in front of the console.  &lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 06 Jan 2005 09:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455083#M744163</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2005-01-06T09:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled - how to enable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455084#M744164</link>
      <description>&lt;P&gt;Aha, it's not a server, it is an Xwindow workstation...very different animal. The "console" is actually a video card and display, not a "real" terminal at all. The J5000 doesn't have the independent Guardian Service Processor (a separate computer that talks directly to the hardware like a server). In this case, the workstation would indeed lockout root and there is no easy provision for recovering. Here are some choices:&lt;BR /&gt;&lt;BR /&gt;1. As mentioned, hook a real terminal to the serial port on the J5000. Be sure to use a crossover (aka, printer or null-modem) cable and make sure you can send data to the terminal. Then reboot, interrupt the boot process and change the console from the video card to the serial port. That will then be useable to recover from a root lockout.&lt;BR /&gt;&lt;BR /&gt;2. reboot into single user mode. Not a good choice for a true server but it will work to recover root's account. You just mount /usr and then use the modprpw -k command, then reboot.&lt;BR /&gt;&lt;BR /&gt;3. Install sudo so specific users can run specific commands as root. Since sudo doesn't login, it can be used to run modprpw -k and fix root's account without a reboot--probably the simplest solution. Get a copy from HP at the Software Depot. It's part of the Internet Express collection (this is a recent and very welcom addition). Internet Express is found at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.hpe.com/connect/s/product?language=en_US&amp;amp;kmpmoid=3367813&amp;amp;tab=manualsAndGuides" target="_blank" rel="noopener"&gt;https://support.hpe.com/connect/s/product?language=en_US&amp;amp;kmpmoid=3367813&amp;amp;tab=manualsAndGuides&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;[Moderator edit: Updated the broken link.]&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 09:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled-how-to-enable/m-p/3455084#M744164</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2023-09-05T09:27:29Z</dc:date>
    </item>
  </channel>
</rss>

