<?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's ninth characters not verifying in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260230#M176875</link>
    <description>Tapas, what you are seeing is one of the compromises necessary in the name of compatibility with traditional UNIX behavior.&lt;BR /&gt;&lt;BR /&gt;Remember that systems can be switched into and out of trusted mode, and that, once discarded, data can't be recovered. Also understand that the format of /etc/passwd files has been standard for 30+ years. The original versions of UNIX did not provide a way of having meaningful passwords longer than 8 characters.  That made sense at the time but now causes us headaches.&lt;BR /&gt;&lt;BR /&gt;In standard UNIX, if you use the traditional crypt() interfaces to set a password, ANYTHING YOU TYPE AFTER 8 CHARACTERS IS SILENTLY THROWN AWAY. If you set your password to abcde1234, the '4' is discarded before any encryption is done.  In standard UNIX you can login with abcde123, abcde1234 or abcde12345. Only (up to) the first 8 characters are checked when testing for a password match in traditional UNIX.&lt;BR /&gt;&lt;BR /&gt;Suppose you now convert to trusted mode.  There is no longer an 8 character limit, but the password has already been truncated, and the 'lost' data can't be recovered, so true longer passwords aren't possible for a given user until the first password change AFTER the conversion to trusted mode. The whole string is then used in the encryption.  So when a user logs in with password 'abcde1234' it doesn't match 'abcde123' (what was stored) and the login fails.&lt;BR /&gt;&lt;BR /&gt;This causes a lot of trouble (and support calls) for users who don't understand that the '4' was thrown away.&lt;BR /&gt;&lt;BR /&gt;As a compromise in trusted mode, if the system can tell that your original password was not more than 8 characters long, it accepts any string that matches in the first 8 characters (or fewer if the real password was shorter than 8 bytes).&lt;BR /&gt;&lt;BR /&gt;8 is effectively a magic boundary.  If you pick a password longer than 8 characters in trusted mode, all of the characters are used,&lt;BR /&gt;unless/until you convert back to standard mode, in which case there is again no longer a place to store more than the first 8 bytes, and the password is potentially truncated.&lt;BR /&gt;&lt;BR /&gt;This isn't the ideal situation, but there is simply no place to store longer passwords in a compatible way in standard mode, and it's not acceptable to lock legitimate users out of their systems, so we have to make some tradeoffs.  If we didn't have to conform to standards, we'd very happily remove this strange behavior.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 28 Apr 2004 02:48:25 GMT</pubDate>
    <dc:creator>doug hosking</dc:creator>
    <dc:date>2004-04-28T02:48:25Z</dc:date>
    <item>
      <title>Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260223#M176868</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a peculiar problem in hp-ux 11.00. I am using L1000,L2000 model. My all systems are trusted. I am illustrating by example: Suppose password is abcde1234. If i enter abcd1234567 then also it is logging in. I am not using NIS. I have checked /etc/nsswitch.conf file also. The entry there is hosts: dns[NOTFOUND=continue UNAVAIL=return] files [NOTFOUND=return UNAVAIL=cont&lt;BR /&gt;inue TRYAGAIN=return]                              &lt;BR /&gt;&lt;BR /&gt;pwconv, authck -pv all i have checked. &lt;BR /&gt;&lt;BR /&gt;One more interesting part right now have found is that if i change password as abcdefgh_1, then it is taking exactly what password is set in.&lt;BR /&gt;&lt;BR /&gt;While changing the password it is taking the exact password which was setted. &lt;BR /&gt;                             &lt;BR /&gt;My minimum password lenghth is eight char.&lt;BR /&gt;&lt;BR /&gt;Any suggestion will be highly appreciable.&lt;BR /&gt;&lt;BR /&gt;With thanx and rgds&lt;BR /&gt;Tapas</description>
      <pubDate>Tue, 27 Apr 2004 07:47:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260223#M176868</guid>
      <dc:creator>Tapas Jha</dc:creator>
      <dc:date>2004-04-27T07:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260224#M176869</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;that is because your server is not on trusted, otherwise the default password length for a non-trusted server is 8, anything after the 8th character is not consider.&lt;BR /&gt;&lt;BR /&gt;do you want to turn your server trusted?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Tue, 27 Apr 2004 07:50:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260224#M176869</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-04-27T07:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260225#M176870</link>
      <description>Check that you have patch&lt;BR /&gt;PHCO_26089  s700_800 11.00 libpam and libpam_unix cumulative patch  &lt;BR /&gt;&lt;BR /&gt;Minimum password length is defined in the /etc/default/security file.&lt;BR /&gt;See&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90696/B2355-90696_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90696/00/01/111-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90696/00/01/111-toc.html&amp;amp;searchterms=security%284%29&amp;amp;queryid=20040427-065520" target="_blank"&gt;http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90696/B2355-90696_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90696/00/01/111-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90696/00/01/111-toc.html&amp;amp;searchterms=security%284%29&amp;amp;queryid=20040427-065520&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2004 07:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260225#M176870</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2004-04-27T07:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260226#M176871</link>
      <description>If you want to enable password lenght for more than 8 char then you do it by modify the password policy of User thr' SAM.&lt;BR /&gt;Then it will ask for axactly what you have assigned.&lt;BR /&gt;SAM-Accounts for users and group-Users-Select User-go to Actions Tab-select modify-go thr' password policy TAB.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2004 08:14:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260226#M176871</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-04-27T08:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260227#M176872</link>
      <description>Hi All,&lt;BR /&gt;Thanx for your reply. I think i have not clearly stated the problem(rather wrongly preset the problem. Sorry for that).&lt;BR /&gt;Here is exactly my problem which i found after thouroughly checked.&lt;BR /&gt;&lt;BR /&gt;If i set password it will throw the error since minimum password length is defined 8. &lt;BR /&gt;If i set exactly 8 characters password then the problem is coming. The System is ignoring any characters after 8th characters. &lt;BR /&gt;&lt;BR /&gt;If i set more than 8 characters password then it is taking the same password which has been set.&lt;BR /&gt;&lt;BR /&gt;Below are the answers of your questions.&lt;BR /&gt;&lt;BR /&gt;1) Reply to Joseph Loo:  My System is trusted. I have once again verified all Systems.&lt;BR /&gt;2)Reply to Cherryl Griffin: Minimum password length is defined in the /etc/default/security file is 8 chars.(MIN_PASSWORD_LENGTH=8)&lt;BR /&gt;&lt;BR /&gt;Patch "PHCO_26089 s700_800 11.00 libpam and libpam_unix cumulative patch " is very much exist in all my systems.&lt;BR /&gt;&lt;BR /&gt;Thru SAM i checked from "Password format policy" that Maximum password length is 12.&lt;BR /&gt;&lt;BR /&gt;Hope now you understand my problem clearly. Waiting for your response.&lt;BR /&gt;&lt;BR /&gt;With thanx and Regards&lt;BR /&gt;Tapa</description>
      <pubDate>Wed, 28 Apr 2004 00:07:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260227#M176872</guid>
      <dc:creator>Tapas Jha</dc:creator>
      <dc:date>2004-04-28T00:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260228#M176873</link>
      <description>Tapas,&lt;BR /&gt;U have pointed out following&lt;BR /&gt;&lt;BR /&gt;1. If i set password it will throw the error since minimum password length is defined 8. &lt;BR /&gt;&lt;BR /&gt;2. If i set exactly 8 characters password then the problem is coming. The System is ignoring any characters after 8th characters. &lt;BR /&gt;&lt;BR /&gt;3. If i set more than 8 characters password then it is taking the same password which has been set.&lt;BR /&gt;&lt;BR /&gt;So this is the way it should behave. I don't think there is any problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Apr 2004 01:52:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260228#M176873</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-04-28T01:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260229#M176874</link>
      <description>Bharat,&lt;BR /&gt;&lt;BR /&gt;Thanx for reply. &lt;BR /&gt;&lt;BR /&gt;But my concern is password should take exactly the same which i have setted. When i am setting password as 8 characters long then it is taking any characters after 8th. &lt;BR /&gt;Suppose i have setted 8 characters password as bharat_1(exactly eight characters). Now system is taking bharat_1 as well as bharat_123 , bharat_1asd (Anything after 8th character).&lt;BR /&gt;&lt;BR /&gt;But the above is not happenning(everything is fine) if i set password more than 8 characters long.&lt;BR /&gt;&lt;BR /&gt;Don't you think this as problem?&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Tapas</description>
      <pubDate>Wed, 28 Apr 2004 02:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260229#M176874</guid>
      <dc:creator>Tapas Jha</dc:creator>
      <dc:date>2004-04-28T02:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260230#M176875</link>
      <description>Tapas, what you are seeing is one of the compromises necessary in the name of compatibility with traditional UNIX behavior.&lt;BR /&gt;&lt;BR /&gt;Remember that systems can be switched into and out of trusted mode, and that, once discarded, data can't be recovered. Also understand that the format of /etc/passwd files has been standard for 30+ years. The original versions of UNIX did not provide a way of having meaningful passwords longer than 8 characters.  That made sense at the time but now causes us headaches.&lt;BR /&gt;&lt;BR /&gt;In standard UNIX, if you use the traditional crypt() interfaces to set a password, ANYTHING YOU TYPE AFTER 8 CHARACTERS IS SILENTLY THROWN AWAY. If you set your password to abcde1234, the '4' is discarded before any encryption is done.  In standard UNIX you can login with abcde123, abcde1234 or abcde12345. Only (up to) the first 8 characters are checked when testing for a password match in traditional UNIX.&lt;BR /&gt;&lt;BR /&gt;Suppose you now convert to trusted mode.  There is no longer an 8 character limit, but the password has already been truncated, and the 'lost' data can't be recovered, so true longer passwords aren't possible for a given user until the first password change AFTER the conversion to trusted mode. The whole string is then used in the encryption.  So when a user logs in with password 'abcde1234' it doesn't match 'abcde123' (what was stored) and the login fails.&lt;BR /&gt;&lt;BR /&gt;This causes a lot of trouble (and support calls) for users who don't understand that the '4' was thrown away.&lt;BR /&gt;&lt;BR /&gt;As a compromise in trusted mode, if the system can tell that your original password was not more than 8 characters long, it accepts any string that matches in the first 8 characters (or fewer if the real password was shorter than 8 bytes).&lt;BR /&gt;&lt;BR /&gt;8 is effectively a magic boundary.  If you pick a password longer than 8 characters in trusted mode, all of the characters are used,&lt;BR /&gt;unless/until you convert back to standard mode, in which case there is again no longer a place to store more than the first 8 bytes, and the password is potentially truncated.&lt;BR /&gt;&lt;BR /&gt;This isn't the ideal situation, but there is simply no place to store longer passwords in a compatible way in standard mode, and it's not acceptable to lock legitimate users out of their systems, so we have to make some tradeoffs.  If we didn't have to conform to standards, we'd very happily remove this strange behavior.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Apr 2004 02:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260230#M176875</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2004-04-28T02:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260231#M176876</link>
      <description>It's late, and I'm tired.&lt;BR /&gt;Let me try to clarify that.&lt;BR /&gt;&lt;BR /&gt;As a compromise in trusted mode, if the system can tell that your original password &lt;BR /&gt;-- as stored AFTER possible earlier truncation due to space limits -- was not more than 8 characters long, it accepts any string that matches in the first 8 characters (or fewer if the real password was shorter than 8 bytes).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Apr 2004 02:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260231#M176876</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2004-04-28T02:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260232#M176877</link>
      <description>Doug,&lt;BR /&gt;&lt;BR /&gt;It's exactly that. I encountered the problem on 2 L1000 running 11.00 32 bits a time ago. It wasn't a problem for me, as long as there were a minimum length to passwords of 6 cars and that users weren't using more than 8 (or at least they never noticed they could do that)&lt;BR /&gt;&lt;BR /&gt;If you have this password :&lt;BR /&gt;1234567890&lt;BR /&gt;You can log with :&lt;BR /&gt;12345678ab&lt;BR /&gt;12345678fh&lt;BR /&gt;12345678&lt;BR /&gt;But not with :&lt;BR /&gt;87654321 (hopefully :)&lt;BR /&gt;&lt;BR /&gt;It doesn't seem to be a 11.00 issue as long as I can do it with a 11i 64bits I'm actually working on. It doesn't have shadowing or anything else (i.e. standard password mamagement).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred</description>
      <pubDate>Wed, 28 Apr 2004 03:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260232#M176877</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-04-28T03:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260233#M176878</link>
      <description>Dough,Fred,Bharat and all, Thanx for your valuable and elaborate reply. &lt;BR /&gt;&lt;BR /&gt;The problem seems exactly same as Fred faced. Earlier we have had  &lt;BR /&gt;minimum password length  of 6 chars, converted to trusted system and minimum&lt;BR /&gt;password length have been set as 8 chars. We also didn't notice until yesterday. &lt;BR /&gt;It was working with nobody's notice.&lt;BR /&gt;&lt;BR /&gt;Dough, as far as your example is concerned, let me clarify one thing. In your example&lt;BR /&gt;you have said that if you set password as abcde1234(Which is nine chars), you can login&lt;BR /&gt;as abcde123,abcde1234,abcde12345. &lt;BR /&gt;&lt;BR /&gt;But for my case if i set password as nine or ten chars long then i will be able to login &lt;BR /&gt;only if i put the exact password which i setted and which is stored in database.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Tapas&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Apr 2004 05:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260233#M176878</guid>
      <dc:creator>Tapas Jha</dc:creator>
      <dc:date>2004-04-28T05:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260234#M176879</link>
      <description>The question is when the password was set.&lt;BR /&gt;If it was set before the conversion to trusted mode, any characters after the 8th are not considered when determining a match.&lt;BR /&gt;&lt;BR /&gt;If it was set after the conversion to trusted mode, then the password is stored in a different location, free of the space constraints that would otherwise limit its length to 8 meaningful characters.</description>
      <pubDate>Wed, 28 Apr 2004 06:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260234#M176879</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2004-04-28T06:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260235#M176880</link>
      <description>I tried a turn on trusted system with my 11i 64 bits : it solves the problem (whereas it doesn't on 11.00)&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Apr 2004 06:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260235#M176880</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-04-28T06:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260236#M176881</link>
      <description>Doug,Fred,&lt;BR /&gt;My system  is 11.00.  Password has been changed several times. Our systyems are trusted long before(more than 2 years). Only minimun pasword length from 6 chars to 8 chrs have been changed eight months back. &lt;BR /&gt;&lt;BR /&gt;So, i think before or after the trusted system password set is not the relevant here. &lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Tapas</description>
      <pubDate>Wed, 28 Apr 2004 08:47:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260236#M176881</guid>
      <dc:creator>Tapas Jha</dc:creator>
      <dc:date>2004-04-28T08:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Password's ninth characters not verifying</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260237#M176882</link>
      <description>It seems to me that we have a kind of normal behavior for a non-trusted system, that might be corrected by trusted system. Trusted system works fine on 11i, but does not correct this point on 11.00.&lt;BR /&gt;&lt;BR /&gt;Your only solution may be to find a patch. Have a look at recent Quality packs. As long as it had been corrected on 11i, there might be a patch for 11.00... we can hope :)&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Apr 2004 08:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-s-ninth-characters-not-verifying/m-p/3260237#M176882</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-04-28T08:54:24Z</dc:date>
    </item>
  </channel>
</rss>

