<?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: Password change from root not working correctly in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299367#M183580</link>
    <description>Check to see if /etc/securetty exists. If it does, then rename it to /etc/orig_securetty.&lt;BR /&gt;&lt;BR /&gt;You might also have to bounce getty and/or inetd. &lt;BR /&gt;&lt;BR /&gt;to bounce inetd use:&lt;BR /&gt; inetd -c &lt;BR /&gt;&lt;BR /&gt;to bounce getty&lt;BR /&gt; ps -ef | grep getty&lt;BR /&gt;kill PIDofGETTY&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Tue, 08 Jun 2004 13:05:28 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2004-06-08T13:05:28Z</dc:date>
    <item>
      <title>Password change from root not working correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299364#M183577</link>
      <description>Okay, this one is striking me as odd.  We have a very small, very old Unix network (that being two, read them, two computers together).  Do to the screwups of various users and administrators before me, the passwords on secman account has been lost into the abyss.  I decided to do a complete password change to bring the system back into decent security.&lt;BR /&gt;&lt;BR /&gt;I went into the sysadmin account, opened xterm as sysadmin, used su root to switch to root.  Then I used the passwd command to change the passwords on all the accounts.  No error messages, no problems.&lt;BR /&gt;&lt;BR /&gt;Until I logged out and tried to log back in.  It told me my login was incorrect.  Tried the old password.  Same thing.  Same on all the accounts.&lt;BR /&gt;&lt;BR /&gt;Before you start offering help, I should warn you that I am certainly not the typical admin of a Unix network, in the fact that I know almost nothing about the software side of these systems.  I'm a hardware tech forced into the position, so be gentle.&lt;BR /&gt;&lt;BR /&gt;Help is greatly appreciated (anything that gets the Cap'n off my back is good).</description>
      <pubDate>Tue, 08 Jun 2004 12:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299364#M183577</guid>
      <dc:creator>Joshua Simpson</dc:creator>
      <dc:date>2004-06-08T12:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Password change from root not working correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299365#M183578</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First ensure these systems are not trusted (if they are HP systems).&lt;BR /&gt;&lt;BR /&gt;#/usr/lbin/getprpw root&lt;BR /&gt;&lt;BR /&gt;If it gives any output other than 'this system is not trusted' then the system is trusted. If the system is trusted, make sure these logins are not disabled.&lt;BR /&gt;&lt;BR /&gt;#/usr/lbin/modprpw -k &lt;LOGIN_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;and then login with &lt;LOGIN_NAME&gt; again.&lt;BR /&gt;&lt;BR /&gt;Ensure you used the following command as root whether the system is trusted or not, to change the password.&lt;BR /&gt;&lt;BR /&gt;#/usr/sbin/passwd &lt;LOGIN_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;If that gives you any trouble, use&lt;BR /&gt;&lt;BR /&gt;#/sbin/passwd &lt;LOGIN_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;/LOGIN_NAME&gt;&lt;/LOGIN_NAME&gt;&lt;/LOGIN_NAME&gt;&lt;/LOGIN_NAME&gt;</description>
      <pubDate>Tue, 08 Jun 2004 12:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299365#M183578</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-06-08T12:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Password change from root not working correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299366#M183579</link>
      <description>Whether the system is trusted or not, if you have root access, you can edit the /etc/passwd file and temporarily zero out the password field.&lt;BR /&gt;&lt;BR /&gt;Then immediately set the password.&lt;BR /&gt;&lt;BR /&gt;If its HP-UX and trusted its a different file.&lt;BR /&gt;&lt;BR /&gt;cd /tcb/files/auth&lt;BR /&gt;&lt;BR /&gt;there are letter directories for the entire alphabet. root would be a file in the r directory.&lt;BR /&gt;&lt;BR /&gt;You can almost always get root access at the console as follows:&lt;BR /&gt;&lt;BR /&gt;boot&lt;BR /&gt;&lt;BR /&gt;interupt at the 10 second prompt&lt;BR /&gt;&lt;BR /&gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;Usually this is not password protected. You can now do virtually anything you need to clear passwords so that you can eventually set them in normal mode.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jun 2004 12:50:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299366#M183579</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-06-08T12:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Password change from root not working correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299367#M183580</link>
      <description>Check to see if /etc/securetty exists. If it does, then rename it to /etc/orig_securetty.&lt;BR /&gt;&lt;BR /&gt;You might also have to bounce getty and/or inetd. &lt;BR /&gt;&lt;BR /&gt;to bounce inetd use:&lt;BR /&gt; inetd -c &lt;BR /&gt;&lt;BR /&gt;to bounce getty&lt;BR /&gt; ps -ef | grep getty&lt;BR /&gt;kill PIDofGETTY&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 08 Jun 2004 13:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299367#M183580</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2004-06-08T13:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Password change from root not working correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299368#M183581</link>
      <description>Simpson,&lt;BR /&gt;What i understand is you changed the root passord and now you are not able to login as root. Finally root password is lost.&lt;BR /&gt;In this case you need to reboot the system (if you have any other user priveledged to shutdown the system) or simply power it off.&lt;BR /&gt;Power on the system and go to PDC prompt (i assume this is a HPUX System). Halt at boot process. You see the prompt as:&lt;BR /&gt;Main Menu&amp;gt; bo&lt;BR /&gt;Interact with IPL&amp;gt; yes&lt;BR /&gt;ISL&amp;gt; hpux -is&lt;BR /&gt;&lt;BR /&gt;This will take you into single user mode without asking for any password.&lt;BR /&gt;&lt;BR /&gt;After getting the hash prompt simply type passwd.&lt;BR /&gt;# passwd&lt;BR /&gt;New Password:&lt;BR /&gt;Confirm Password:&lt;BR /&gt;#&lt;BR /&gt;Remeber the password you typed and then&lt;BR /&gt;&lt;BR /&gt;# reboot&lt;BR /&gt;&lt;BR /&gt;This will bring the system in multiuser mode. Now try logging in as root.&lt;BR /&gt;I assume your system is not trusted.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,</description>
      <pubDate>Tue, 08 Jun 2004 14:24:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299368#M183581</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-06-08T14:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Password change from root not working correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299369#M183582</link>
      <description>Actually, the root password is the only one that is working correctly (and a good thing, too, as single-user mode has a password on these systems; not my choice).&lt;BR /&gt;&lt;BR /&gt;Also, the system is trusted, another thing I'm not authorized to change.&lt;BR /&gt;&lt;BR /&gt;I haven't gotten a chance to implement any of the suggestions you fine folks have suggested, but I did work with it some more yesterday evening.  Interesting results:&lt;BR /&gt;- Changed passwords to less than 8 characters.  All accounts can now be logged into from both prompt and GUI login screen.&lt;BR /&gt;- For some reason, the system WILL NOT acknowledge a password longer than 8 characters at the login screen (though I can log into them through &lt;SU&gt; from another account).&lt;BR /&gt;&lt;BR /&gt;If anyone has any ideas why this is working this way, I'd love to hear them.  Oh, did I mention that "the world's finest Navy" is using HP-UX 5.1?  Probably help to know that.&lt;BR /&gt;&lt;BR /&gt;Also, still having problems with the "secman" account on my second machine.  Despite the fact that the password has been fixed, I still can't login to it from the login screen, and attempts to switch users to it give the message "This account has been disabled."  I tried using the "modprpw -k &lt;USERNAME&gt;" command, but the account still doesn't work.  Ideas?&lt;/USERNAME&gt;&lt;/SU&gt;</description>
      <pubDate>Wed, 09 Jun 2004 10:13:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299369#M183582</guid>
      <dc:creator>Joshua Simpson</dc:creator>
      <dc:date>2004-06-09T10:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Password change from root not working correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299370#M183583</link>
      <description>My mistake, we are using HP-UX version 11.  The overall software load (which includes the OS plus a bunch of speciality software) is version 5.1.  Just thought I'd put that up there for accuracy.</description>
      <pubDate>Wed, 09 Jun 2004 11:07:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299370#M183583</guid>
      <dc:creator>Joshua Simpson</dc:creator>
      <dc:date>2004-06-09T11:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Password change from root not working correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299371#M183584</link>
      <description>Josh,&lt;BR /&gt;&lt;BR /&gt;The reason &amp;gt;8 char passwords dont work is b/c you have a trusted system.&lt;BR /&gt;&lt;BR /&gt;passwds are mandatory &amp;lt;=8 chars...</description>
      <pubDate>Wed, 09 Jun 2004 13:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299371#M183584</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-06-09T13:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Password change from root not working correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299372#M183585</link>
      <description>I think you can modify it with  /etc/default/security.&lt;BR /&gt;&lt;BR /&gt;man security&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you will have to create this file and mod the changes there to allow &amp;gt;8 char passwords.&lt;BR /&gt;&lt;BR /&gt;CAVEAT: I have never used this on trusted so buyer beware.</description>
      <pubDate>Wed, 09 Jun 2004 13:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-from-root-not-working-correctly/m-p/3299372#M183585</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-06-09T13:57:36Z</dc:date>
    </item>
  </channel>
</rss>

