<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000621#M126397</link>
    <description>A brief addendum&lt;BR /&gt;&lt;BR /&gt;From the console, the system seems to let me log in as root&lt;BR /&gt;But I gave the original "passwd -f"&lt;BR /&gt;So the system asks me to change my password&lt;BR /&gt;I try to change it and, after giving the actual, "old" password ..&lt;BR /&gt;&lt;BR /&gt;Sorry.&lt;BR /&gt;Login disallowed due to no password.&lt;BR /&gt;&lt;BR /&gt;I've hardly crashed the machine, booted in single user mode, but the system is set up to ask for the root password even in single user mode. And here it simply doesn't (!) accept the "old", right password&lt;BR /&gt;&lt;BR /&gt;I've tried to boot up from the CD, but from the recovery shell I don't know how to mount the root filesystem to change /tcb/files/auth/r/root&lt;BR /&gt;&lt;BR /&gt;Thank you for your precious help &lt;BR /&gt;&lt;BR /&gt;Enrico&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Jun 2003 14:18:15 GMT</pubDate>
    <dc:creator>enrico.nic</dc:creator>
    <dc:date>2003-06-18T14:18:15Z</dc:date>
    <item>
      <title>root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000614#M126390</link>
      <description>Hi all,&lt;BR /&gt;I just wanted to remember myself to change the root password at the next login. As root, I have given the 'passwd -f root' command.&lt;BR /&gt;The I tried to login from the console: ok, the system asks me to change the password. After giving the actual password, the system didn't let me enter refusing the following new password.&lt;BR /&gt;And this happened 3 times.&lt;BR /&gt;After that, the security policy of the system doesn't let me enter, since the root has been disabled - the error is 'see Account Administrator'.&lt;BR /&gt;The question is: there a way to have back a root user prompt without rebooting in single user mode ?&lt;BR /&gt;A supplementary problem is that the root user is the only one enabled to perform a shutdown/reboot of the machine.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;Enrico</description>
      <pubDate>Wed, 18 Jun 2003 09:28:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000614#M126390</guid>
      <dc:creator>enrico.nic</dc:creator>
      <dc:date>2003-06-18T09:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000615#M126391</link>
      <description>Enrico,&lt;BR /&gt;&lt;BR /&gt;As far as I know, you should be able to log into the system via the console even if the login is disabled (presuming you know the root password, obviously).&lt;BR /&gt;&lt;BR /&gt;Make sure you really are at the console and give it a try.&lt;BR /&gt;&lt;BR /&gt;Another remote possibility is if you can access the system via SSH. This will still allow connection even if the account is disabled.&lt;BR /&gt;&lt;BR /&gt;If this fails, then I believe it's a case of booting into single-user mode and changing the password.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Ollie.</description>
      <pubDate>Wed, 18 Jun 2003 09:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000615#M126391</guid>
      <dc:creator>Ollie R</dc:creator>
      <dc:date>2003-06-18T09:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000616#M126392</link>
      <description>&lt;BR /&gt;Youre going to have to crash it and reboot in single user mode to fix, unless you know someone somewhere with a logged in root window which you can use.&lt;BR /&gt;&lt;BR /&gt;I guess your new password was rejected because it didnt comply with the security standard - 6 chars, at least 1 number etc ?&lt;BR /&gt;&lt;BR /&gt;Whenever you play with root passwords or setup you should always have another logged in root window somewhere so you can easily fix it if it goes wrong.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 09:33:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000616#M126392</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-06-18T09:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000617#M126393</link>
      <description>If all these are happening in CDE login screen, From login screen select option,  fail safe sesion. &lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 09:43:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000617#M126393</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2003-06-18T09:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000618#M126394</link>
      <description>If you happen to have veritas installed, and you are on a trusted system (using /tcb/files/auth), you can either restore your auth file, or bpgp an auth file from another system.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 09:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000618#M126394</guid>
      <dc:creator>Ken Penland_1</dc:creator>
      <dc:date>2003-06-18T09:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000619#M126395</link>
      <description>Hi,&lt;BR /&gt;if your are luck, maybe the file /etc/passwd is writable directly...&lt;BR /&gt;&lt;BR /&gt;try !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 09:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000619#M126395</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-18T09:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000620#M126396</link>
      <description>Don't you have /.rhost file on that system so&lt;BR /&gt;can login remotely without password from some "trusted" machine?I loved these backdoors once :)You leave a host (your workstation usually) and rlogin from there without a password.What else can be done...hmm...login as a regular user and run john the ripper password breaker vs your /etc/password?:)&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Wed, 18 Jun 2003 09:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000620#M126396</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-06-18T09:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000621#M126397</link>
      <description>A brief addendum&lt;BR /&gt;&lt;BR /&gt;From the console, the system seems to let me log in as root&lt;BR /&gt;But I gave the original "passwd -f"&lt;BR /&gt;So the system asks me to change my password&lt;BR /&gt;I try to change it and, after giving the actual, "old" password ..&lt;BR /&gt;&lt;BR /&gt;Sorry.&lt;BR /&gt;Login disallowed due to no password.&lt;BR /&gt;&lt;BR /&gt;I've hardly crashed the machine, booted in single user mode, but the system is set up to ask for the root password even in single user mode. And here it simply doesn't (!) accept the "old", right password&lt;BR /&gt;&lt;BR /&gt;I've tried to boot up from the CD, but from the recovery shell I don't know how to mount the root filesystem to change /tcb/files/auth/r/root&lt;BR /&gt;&lt;BR /&gt;Thank you for your precious help &lt;BR /&gt;&lt;BR /&gt;Enrico&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 14:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000621#M126397</guid>
      <dc:creator>enrico.nic</dc:creator>
      <dc:date>2003-06-18T14:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000622#M126398</link>
      <description>Hi,&lt;BR /&gt;to mount the root fs you should use the chroot_lvm script that is created when you use the recovery CD.&lt;BR /&gt;&lt;BR /&gt;This will mount the original /&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then, downloading the mount command, you should be able to mount all the stuff.&lt;BR /&gt;&lt;BR /&gt;Sorry that i don't remember exactly the bame, but it appears on the video when you use the recovery CD.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Massimo&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 14:22:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000622#M126398</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-18T14:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000623#M126399</link>
      <description>Once you get everything back to normal, create a pseudo root account that can be used when you have problems with the root account.&lt;BR /&gt;&lt;BR /&gt;A pseudo root account is a username, password, UID=0. I usually give it a separate home directory (other than "/"). The easiest way to create a pseudo root account is to create a normal user account, then edit /etc/passwd to change the UID to "0".&lt;BR /&gt;&lt;BR /&gt;Over the years, the pseudo root account has saved me from rebooting dozens of times.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 18 Jun 2003 14:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000623#M126399</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2003-06-18T14:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000624#M126400</link>
      <description>Rather than creating a second root-level account, I would recommend installing sudo &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and setting up your account to have root priv. in /etc/sudoers.&lt;BR /&gt;&lt;BR /&gt;As for now, if you are logged in as root, then you can edit /etc/passwd directly and change the encrypted password for the root account (maybe copy and paste in your account's password).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you cannot log in as root, then try to sync the filesystems (sync command should work without root permission), power-off, and boot off of a recovery CD.  You can then mount your root partition and change the /etc/passwd entry.</description>
      <pubDate>Wed, 18 Jun 2003 14:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000624#M126400</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-06-18T14:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000625#M126401</link>
      <description>If you can get a root-level account, you might try creating another user with 0 level permissions.  Then log in as that user.  You can then 'passwd root'.  It shouldn't ask you for the old password.&lt;BR /&gt;&lt;BR /&gt;Then, of course, delete the second 0 level user.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 18 Jun 2003 20:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000625#M126401</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-06-18T20:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000626#M126402</link>
      <description>What if you "crash" yourbox - boot into single user mode:&lt;BR /&gt;&lt;BR /&gt;Interact with IPL?&lt;BR /&gt;&lt;BR /&gt;Y&lt;BR /&gt;&lt;BR /&gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;Then try setting the passwd...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 18 Jun 2003 20:33:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000626#M126402</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-06-18T20:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: root account disabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000627#M126403</link>
      <description>Hi Enrico,&lt;BR /&gt;&lt;BR /&gt;You can try with ftp. If you are having an identical passwd file you can try with ftp-ing the file in the Server and try it out.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Wed, 18 Jun 2003 20:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-account-disabled/m-p/3000627#M126403</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2003-06-18T20:42:29Z</dc:date>
    </item>
  </channel>
</rss>

