<?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 password in trusted system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125792#M151978</link>
    <description>Hi Roberto,&lt;BR /&gt;&lt;BR /&gt;I think that reasons of the problem are different.&lt;BR /&gt;Just a few things that you can try/verify:&lt;BR /&gt;&lt;BR /&gt;1. pwconv command should be executed, from man pwcon:&lt;BR /&gt;&lt;BR /&gt;pwconv - update secure password facility&lt;BR /&gt;&lt;BR /&gt;It is enough to type from command line&lt;BR /&gt;&lt;BR /&gt;# pwconv&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;# authck -pv &lt;BR /&gt;&lt;BR /&gt;from man of command:&lt;BR /&gt;&lt;BR /&gt;authck - check internal consistency of Authentication database&lt;BR /&gt;&lt;BR /&gt;If you found messages or problems by last two commands you should solve them.&lt;BR /&gt;&lt;BR /&gt;3. You should verify /etc/nsswitch.conf, if it contains&lt;BR /&gt;&lt;BR /&gt;passwd: compat&lt;BR /&gt;group: compat&lt;BR /&gt;&lt;BR /&gt;They are in this way if your system uses NIS service; if it is not then just change the word 'compat' to 'files'.&lt;BR /&gt;&lt;BR /&gt;In all the three cases above after the action, you could re-try root password change.&lt;BR /&gt;&lt;BR /&gt;I hope this helps you.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore</description>
    <pubDate>Fri, 21 Nov 2003 10:14:30 GMT</pubDate>
    <dc:creator>Fabio Ettore</dc:creator>
    <dc:date>2003-11-21T10:14:30Z</dc:date>
    <item>
      <title>Root password in trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125790#M151976</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;my system is in trusted mode.&lt;BR /&gt;Changing root password by 'passwd root' command I get error&lt;BR /&gt; &lt;BR /&gt;"Unexpected failure. Password file unchanged." &lt;BR /&gt;&lt;BR /&gt;I already tried to delete root password in /tcb/files/auth/r/root and re-tried passwd command but it didn't help.&lt;BR /&gt;I tried to unconvert the system, change password of root and convert system in trusted again; I succeeded to change password but I cannot login with new password.&lt;BR /&gt;&lt;BR /&gt;Helps would be appreciated, thanks!&lt;BR /&gt;Roberto</description>
      <pubDate>Fri, 21 Nov 2003 06:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125790#M151976</guid>
      <dc:creator>Roberto Paris</dc:creator>
      <dc:date>2003-11-21T06:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Root password in trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125791#M151977</link>
      <description>/usr/lbin/modprpw -l -k root&lt;BR /&gt;&lt;BR /&gt;That will unlock the root password, if the /etc/passwd file has not been corrupted.&lt;BR /&gt;&lt;BR /&gt;A console login might unlock the id.&lt;BR /&gt;&lt;BR /&gt;You may need to boot into single user mode to correct this.&lt;BR /&gt;&lt;BR /&gt;Last resort, edit the /tcb/files/auth/r/root file and null out the encrypted password.&lt;BR /&gt;&lt;BR /&gt;This may need to be done in single user mode, but if you have a root session open, you can still do it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 21 Nov 2003 09:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125791#M151977</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-21T09:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Root password in trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125792#M151978</link>
      <description>Hi Roberto,&lt;BR /&gt;&lt;BR /&gt;I think that reasons of the problem are different.&lt;BR /&gt;Just a few things that you can try/verify:&lt;BR /&gt;&lt;BR /&gt;1. pwconv command should be executed, from man pwcon:&lt;BR /&gt;&lt;BR /&gt;pwconv - update secure password facility&lt;BR /&gt;&lt;BR /&gt;It is enough to type from command line&lt;BR /&gt;&lt;BR /&gt;# pwconv&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;# authck -pv &lt;BR /&gt;&lt;BR /&gt;from man of command:&lt;BR /&gt;&lt;BR /&gt;authck - check internal consistency of Authentication database&lt;BR /&gt;&lt;BR /&gt;If you found messages or problems by last two commands you should solve them.&lt;BR /&gt;&lt;BR /&gt;3. You should verify /etc/nsswitch.conf, if it contains&lt;BR /&gt;&lt;BR /&gt;passwd: compat&lt;BR /&gt;group: compat&lt;BR /&gt;&lt;BR /&gt;They are in this way if your system uses NIS service; if it is not then just change the word 'compat' to 'files'.&lt;BR /&gt;&lt;BR /&gt;In all the three cases above after the action, you could re-try root password change.&lt;BR /&gt;&lt;BR /&gt;I hope this helps you.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore</description>
      <pubDate>Fri, 21 Nov 2003 10:14:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125792#M151978</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2003-11-21T10:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Root password in trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125793#M151979</link>
      <description>Roberto,&lt;BR /&gt;&lt;BR /&gt;If your password has more than 8 characters, try logging in with just the first 8 characters.  Trusted systems get set to a max of 8 character passwords by default when implemented.  You can adjust this limit via SAM in the auditing and security section once logged in.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Eric</description>
      <pubDate>Fri, 21 Nov 2003 11:22:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125793#M151979</guid>
      <dc:creator>erics_1</dc:creator>
      <dc:date>2003-11-21T11:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Root password in trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125794#M151980</link>
      <description>Let me clarify Eric's comment.  When you first convert a system from standard mode to trusted mode, only the first 8 characters of the EXISTING password are used.  That's because in standard mode the way the password is encoded in /etc/passwd has no room to hold anything longer.  You may THINK you have a longer password in standard mode, but the excess characters are actually ignored by the system. So if you set your password to foobar37, you could login with a password of foobar37, foobar375, or foobar37abcdefg.  Likewise, if you set your password to foobar37abcdefg, you could login with a password of just foobar37.  This is standard UNIX behavior for the old style /etc/passwd file format.&lt;BR /&gt;&lt;BR /&gt;When you convert from standard to trusted, you get passwords of up to 80 chracters.  But there is no way for the conversion process to recreate the characters that were previously thrown away, so only the first 8 characters are initially used.  And since anything after the first 8 is now checked, not ignored, this causes some confusion until the first password change by that user after the conversion to trusted mode.  &lt;BR /&gt;&lt;BR /&gt;Actual behavior varies slightly from release to release as code was added to try to make this difference less confusing to users.  But the bottom line is that you can't create missing characters out of thin air.&lt;BR /&gt;&lt;BR /&gt;You do not need to edit anything with SAM to get trusted mode to accept the longer passwords.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Nov 2003 21:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125794#M151980</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2003-11-22T21:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Root password in trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125795#M151981</link>
      <description>Hi at all and thanks for your helps!&lt;BR /&gt;Fantastic forum...&lt;BR /&gt;I solved my password problem...&lt;BR /&gt;&lt;BR /&gt;It was the string 'compat' on password and group into /etc/nsswitch.conf file. I changed it to 'files' and I could modify the root password.&lt;BR /&gt;Now I can login with the new password.&lt;BR /&gt;&lt;BR /&gt;Roberto.</description>
      <pubDate>Mon, 24 Nov 2003 03:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125795#M151981</guid>
      <dc:creator>Roberto Paris</dc:creator>
      <dc:date>2003-11-24T03:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Root password in trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125796#M151982</link>
      <description>Ah, the missing information.  Now it makes more sense. Trusted mode is not compatible with NIS.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Nov 2003 05:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-password-in-trusted-system/m-p/3125796#M151982</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2003-11-24T05:24:56Z</dc:date>
    </item>
  </channel>
</rss>

