<?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: PHI11i3 and LongPass11i3 installed but not affecting passwords in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/phi11i3-and-longpass11i3-installed-but-not-affecting-passwords/m-p/6922279#M729581</link>
    <description>&lt;P&gt;Have solved this, for the most part but more on that later... The solution... Ended up raising a call with HPE support to get to the bottom of why it wasnt working. The reasons were :-&lt;/P&gt;&lt;P&gt;1) The order of the entries for Password Hashing Infrastructure matter in &lt;FONT face="courier new,courier"&gt;/etc/default/security&lt;/FONT&gt;. Get them the wrong way round and it wont encrypt the passwords using SHA512, it will continue to use DES.&lt;/P&gt;&lt;P&gt;The wrong way round is :-&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_DEFAULT=6&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_ALGORITHMS_DEPRECATE=__unix__&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;correct way round is :-&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_ALGORITHMS_DEPRECATE=__unix__&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_DEFAULT=6&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;As in:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;############################################################################&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# Additional parameters to support PHI11i3 Password Hashing Infrastructure #&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# and LongPass11i3 Long Passwords&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;############################################################################&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# To migrate DES-based password hashes to SHA512-based hashes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#CRYPT_ALGORITHMS_DEPRECATE=__unix__&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_ALGORITHMS_DEPRECATE=__unix__&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# To set the default password hash algorithm to an SHA512-based algorithm&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#CRYPT_DEFAULT=6&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_DEFAULT=6&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# To activate the HP-UX LongPass11i3 functionality&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# The MIN_PASSWORD_LENGTH parameter can be set to values greater than 8&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#LONG_PASSWORD=1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LONG_PASSWORD=1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;2) It doesnt work if you have LDAP enabled when you try to set or change a password. You need to check &lt;FONT face="courier new,courier"&gt;/etc/nsswitch.conf&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;/etc/pam.conf&lt;/FONT&gt; for any refereneces to LDAP and comment out or remove them.&lt;/P&gt;&lt;P&gt;3) All the systems I am working on do &lt;STRONG&gt;not&lt;/STRONG&gt; have trusted computing enabled and all of the&amp;nbsp;additional password parameters do work with the exception of root see below.&lt;/P&gt;&lt;P&gt;Also worth noting is that when creating a new user and setting a password as root any rules set to enforce password parameters (special characters, Caps, lc, numbers, length) will be ignored. They will be enforced for the user just not for root. This caught me out trying to test if the rules set in &lt;FONT face="courier new,courier"&gt;/etc/default/security&amp;nbsp;&lt;/FONT&gt;were working&lt;/P&gt;&lt;P&gt;&amp;nbsp;Ref man page security 4&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PASSWORD_POLICY_STRICT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;This attribute imposes restrictions when root is changing passwords. These restrictions already apply to normal users.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If&amp;nbsp;you enable PASSWORD_POLICY_STRICT then the rules will also apply to root. But this could be a bad idea I am led to believe..&amp;nbsp;&lt;/P&gt;&lt;P&gt;With these changes made I have now successfully set up a number of systems... apart from one which, despite everything above being correctly configured resolutely refuse to apply SHA512 encryption to new passwords. When I get to the bottom of that I will report back in case anyone else come across this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2016 20:20:16 GMT</pubDate>
    <dc:creator>Bodule</dc:creator>
    <dc:date>2016-11-30T20:20:16Z</dc:date>
    <item>
      <title>PHI11i3 and LongPass11i3 installed but not affecting passwords</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/phi11i3-and-longpass11i3-installed-but-not-affecting-passwords/m-p/6913597#M729578</link>
      <description>&lt;P&gt;I have a number of 11v3 systems which I have applied the PHI11i3 and LongPass11i3 bundles to. No errors were reported during install. All the systems already had shadow passwords enabled. None are running Trusted Computing.&lt;/P&gt;&lt;P&gt;in order to test the new Password hashing and password length/character parameters I have edited &lt;FONT face="courier new,courier"&gt;/etc/default/security&lt;/FONT&gt; to include the requisite entries (checked access permissions were correct)&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_DEFAULT=6 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_ALGORITHMS_DEPRECATE=__unix__ &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LONG_PASSWORD=1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PASSWORD_MIN_UPPER_CASE_CHARS=X&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PASSWORD_MIN_LOWER_CASE_CHARS=X&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PASSWORD_MIN_DIGIT_CHARS=X&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PASSWORD_MIN_SPECIAL_CHARS=X&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Where X = a number I am not going to reveal on a public forum.&lt;/P&gt;&lt;P&gt;I then created a new user on the systems&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;useradd -u 9999999 -g users -d /home/user_t -s /usr/bin/ksh -c "Test User account" -m user_t&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;and changed the user's password to a longer than 20 character password using only lower case and numbers.&lt;/P&gt;&lt;P&gt;The system did not warn that the password did not meet the new rules, i.e. didnt warn it was not acceptable as it didnt have any capitals or special characters.&lt;/P&gt;&lt;P&gt;The password was set but logging in as the new user user_t shows that only the first 8 characters are being used.&lt;/P&gt;&lt;P&gt;Looking at the &lt;FONT face="courier new,courier"&gt;/etc/shadow&lt;/FONT&gt; file I can see that the hashed password is the same size as existing non-SHA-512 passwords. Changing or editing the test user's password makes no change to the encryption on the hashed password ( I have seen SHA-512 encrypted /etc/password in HP-UX11i3 systems and they are longer than these are). I have tried a wide variety of passwords but they remain as 8 character DES passwords.&lt;/P&gt;&lt;P&gt;I have checked the install as best I can and cant see anything which would prevent the new bundles functioning. I have searched these forums and other places to no avail. I have rebooted the systems to no effect. From what I have read once installed there shouldnt be anything else which needs to be done to activate the PHI11i3 and LongPass11i3 bundles.&lt;/P&gt;&lt;P&gt;Any help or diagnostic advice very much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 08:38:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/phi11i3-and-longpass11i3-installed-but-not-affecting-passwords/m-p/6913597#M729578</guid>
      <dc:creator>Bodule</dc:creator>
      <dc:date>2016-10-31T08:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: PHI11i3 and LongPass11i3 installed but not affecting passwords</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/phi11i3-and-longpass11i3-installed-but-not-affecting-passwords/m-p/6913718#M729579</link>
      <description>&lt;P&gt;&amp;gt; [...] None are running Trusted Computing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I know nothing, but my quick Web search for:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/default/security hp-ux&lt;BR /&gt;found:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://community.hpe.com/t5/x/x/td-p/3648070" target="_blank"&gt;/t5/x/x/td-p/3648070&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As bill pointed out just above your problem could be because of&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; your non trusted system.many of the security settings shown below&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in the /etc/default/security file will only be effective if the&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system is TRUSTED.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [...]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIN_PASSWORD_LENGTH=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASSWORD_MIN_UPPER_CASE_CHARS=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASSWORD_MIN_LOWER_CASE_CHARS=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASSWORD_MIN_DIGIT_CHARS=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASSWORD_MIN_SPECIAL_CHARS=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [...]&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 12:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/phi11i3-and-longpass11i3-installed-but-not-affecting-passwords/m-p/6913718#M729579</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2016-10-31T12:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: PHI11i3 and LongPass11i3 installed but not affecting passwords</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/phi11i3-and-longpass11i3-installed-but-not-affecting-passwords/m-p/6913758#M729580</link>
      <description>&lt;P&gt;Thanks for the quick response . I had read that and noted the link&lt;/P&gt;&lt;P&gt;"Hope the following doc will help you to know more about trusted system features and administration.&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90121/index.html" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;FONT color="#0066cc"&gt;http://docs.hp.com/en/B2355-90121/index.html&lt;/FONT&gt;&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;is broken as it is to the old hp site not the new hpe one ( A bit later and some searching of the hpe site only reveals links to other Communities posts refering to that document and no links to the document itself). I have also found slightly conflicting advice regarding whethter or not the system needs to be Trusted or not. The linked communities post is from 2005 and the man page / and patches are from 2012 so things may have changed in the years since that post in 2005?&lt;/P&gt;&lt;P&gt;I have also tried removing the settings for&lt;BR /&gt;&lt;FONT face="Courier New"&gt;PASSWORD_MIN_UPPER_CASE_CHARS=&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;PASSWORD_MIN_LOWER_CASE_CHARS=&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PASSWORD_MIN_DIGIT_CHARS=&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PASSWORD_MIN_SPECIAL_CHARS=&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;But it made no difference. The passwords are still not encrypted and still limited to 8 characters&lt;/P&gt;&lt;P&gt;From the 2012 version of the security(4) Man Page on the systems in question installed as part of the patch process&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"MIN_PASSWORD_LENGTH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This attribute controls the minimum length of new passwords. On trusted systems it applies to all users. On standard systems it applies to non-root local users and to NIS users. On systems in standard or shadow mode, it applies to root if &lt;STRONG&gt;PASSWORD_POLICY_STRICT=1&lt;/STRONG&gt;. The system-wide default defined here may be overridden by defining per- user values in &lt;STRONG&gt;/var/adm/userdb&lt;/STRONG&gt; (described in &lt;EM&gt;userdb&lt;/EM&gt;(4)).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MIN_PASSWORD_LENGTH=N&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; New passwords must contain at least &lt;EM&gt;N&lt;/EM&gt; characters. For standard systems, &lt;EM&gt;N&lt;/EM&gt; can be any value from 3 to 8. For trusted systems, &lt;EM&gt;N&lt;/EM&gt; can be any value from 6 to 80.&lt;BR /&gt;Default value: &lt;STRONG&gt;MIN_PASSWORD_LENGTH=6"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So my reading of "On standard systems it applies to non-root local users and to NIS users." is that MIN_PASSWORD_LENGTH should work on Standard (not Trusted) systems.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;STRONG&gt;PASSWORD_MIN_&lt;/STRONG&gt;&lt;EM&gt;type&lt;/EM&gt;&lt;STRONG&gt;_CHARS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Attributes of this form are used to require new passwords to have a minimum number of characters of particular types (upper case, lower case, digits or special characters). This can be helpful in enforcing site security policies about selecting passwords that are not easy to guess. This attribute applies to local, non-root users. On a system in standard or shadow mode, it also applies to root if &lt;STRONG&gt;PASSWORD_POLICY_STRICT=1&lt;/STRONG&gt;. The system-wide default defined here may be overridden by defining a per-user value in &lt;STRONG&gt;/var/adm/userdb&lt;/STRONG&gt; (described in &lt;EM&gt;userdb&lt;/EM&gt;(4)).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PASSWORD_MIN_UPPER_CASE_CHARS=&lt;/STRONG&gt;&lt;EM&gt;N&lt;/EM&gt;&amp;nbsp;&amp;nbsp; Specifies that a minimum of &lt;EM&gt;N&lt;/EM&gt; upper-case characters are required in a password when changed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PASSWORD_MIN_LOWER_CASE_CHARS=&lt;/STRONG&gt;&lt;EM&gt;N&lt;/EM&gt;&amp;nbsp;&amp;nbsp; Specifies that a minimum of &lt;EM&gt;N&lt;/EM&gt; lower-case characters are required in a password when changed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PASSWORD_MIN_DIGIT_CHARS=&lt;/STRONG&gt;&lt;EM&gt;N&lt;/EM&gt;&amp;nbsp;&amp;nbsp; Specifies that a minimum of &lt;EM&gt;N&lt;/EM&gt; digit characters are required in a password when changed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PASSWORD_MIN_SPECIAL_CHARS=&lt;/STRONG&gt;&lt;EM&gt;N&lt;/EM&gt;&amp;nbsp;&amp;nbsp; Specifies that a minimum of &lt;EM&gt;N&lt;/EM&gt; special characters are required in a password when changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Default value: The default for each of these attributes is zero."&lt;/P&gt;&lt;P&gt;"This attribute applies to local, non-root users. On a system in standard or shadow mode, it also applies to root if &lt;STRONG&gt;PASSWORD_POLICY_STRICT=1&lt;/STRONG&gt;. " Suggests to me, again, that this should work in Standard Mode. Unless I am missing something? There are later warnings against using PASSWORD_POLICY_STRICT=1 in the entry for that parameter in the man page&amp;nbsp;for security issues so I havent set it in my testing.&lt;/P&gt;&lt;P&gt;While the Trusted / Standard mode may be an issue regarding the additional password parameters I still havent managed to get the most basic change of encryption from DES to SHA-512 to work or for passwords over 8 characters to be accepted. Which suggests a bigger problem.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 14:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/phi11i3-and-longpass11i3-installed-but-not-affecting-passwords/m-p/6913758#M729580</guid>
      <dc:creator>Bodule</dc:creator>
      <dc:date>2016-10-31T14:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: PHI11i3 and LongPass11i3 installed but not affecting passwords</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/phi11i3-and-longpass11i3-installed-but-not-affecting-passwords/m-p/6922279#M729581</link>
      <description>&lt;P&gt;Have solved this, for the most part but more on that later... The solution... Ended up raising a call with HPE support to get to the bottom of why it wasnt working. The reasons were :-&lt;/P&gt;&lt;P&gt;1) The order of the entries for Password Hashing Infrastructure matter in &lt;FONT face="courier new,courier"&gt;/etc/default/security&lt;/FONT&gt;. Get them the wrong way round and it wont encrypt the passwords using SHA512, it will continue to use DES.&lt;/P&gt;&lt;P&gt;The wrong way round is :-&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_DEFAULT=6&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_ALGORITHMS_DEPRECATE=__unix__&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;correct way round is :-&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_ALGORITHMS_DEPRECATE=__unix__&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_DEFAULT=6&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;As in:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;############################################################################&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# Additional parameters to support PHI11i3 Password Hashing Infrastructure #&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# and LongPass11i3 Long Passwords&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;############################################################################&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# To migrate DES-based password hashes to SHA512-based hashes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#CRYPT_ALGORITHMS_DEPRECATE=__unix__&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_ALGORITHMS_DEPRECATE=__unix__&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# To set the default password hash algorithm to an SHA512-based algorithm&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#CRYPT_DEFAULT=6&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CRYPT_DEFAULT=6&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# To activate the HP-UX LongPass11i3 functionality&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# The MIN_PASSWORD_LENGTH parameter can be set to values greater than 8&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#LONG_PASSWORD=1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LONG_PASSWORD=1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;2) It doesnt work if you have LDAP enabled when you try to set or change a password. You need to check &lt;FONT face="courier new,courier"&gt;/etc/nsswitch.conf&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;/etc/pam.conf&lt;/FONT&gt; for any refereneces to LDAP and comment out or remove them.&lt;/P&gt;&lt;P&gt;3) All the systems I am working on do &lt;STRONG&gt;not&lt;/STRONG&gt; have trusted computing enabled and all of the&amp;nbsp;additional password parameters do work with the exception of root see below.&lt;/P&gt;&lt;P&gt;Also worth noting is that when creating a new user and setting a password as root any rules set to enforce password parameters (special characters, Caps, lc, numbers, length) will be ignored. They will be enforced for the user just not for root. This caught me out trying to test if the rules set in &lt;FONT face="courier new,courier"&gt;/etc/default/security&amp;nbsp;&lt;/FONT&gt;were working&lt;/P&gt;&lt;P&gt;&amp;nbsp;Ref man page security 4&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PASSWORD_POLICY_STRICT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;This attribute imposes restrictions when root is changing passwords. These restrictions already apply to normal users.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If&amp;nbsp;you enable PASSWORD_POLICY_STRICT then the rules will also apply to root. But this could be a bad idea I am led to believe..&amp;nbsp;&lt;/P&gt;&lt;P&gt;With these changes made I have now successfully set up a number of systems... apart from one which, despite everything above being correctly configured resolutely refuse to apply SHA512 encryption to new passwords. When I get to the bottom of that I will report back in case anyone else come across this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 20:20:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/phi11i3-and-longpass11i3-installed-but-not-affecting-passwords/m-p/6922279#M729581</guid>
      <dc:creator>Bodule</dc:creator>
      <dc:date>2016-11-30T20:20:16Z</dc:date>
    </item>
  </channel>
</rss>

