<?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 Forcing password change in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/forcing-password-change/m-p/7042611#M729754</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have recently been told to increase the number of characters in our passwords to 14. This we can easily do by amending the MIN_PASSWORD_LENGTH value in /etc/default/security.&lt;/P&gt;&lt;P&gt;However this doesnt enforce the change until the user manually changes their password having logged in with the previous 8 character password..&lt;/P&gt;&lt;P&gt;Is there a setting that will enforce ALL users to change their password accordingly on their next login? I know this can be done for individual users via passwd -f "username" but is there a way of setting it for all?&lt;/P&gt;&lt;P&gt;Release is HPUX 11.31.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2019 15:53:45 GMT</pubDate>
    <dc:creator>Mark Parsons</dc:creator>
    <dc:date>2019-04-16T15:53:45Z</dc:date>
    <item>
      <title>Forcing password change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forcing-password-change/m-p/7042611#M729754</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have recently been told to increase the number of characters in our passwords to 14. This we can easily do by amending the MIN_PASSWORD_LENGTH value in /etc/default/security.&lt;/P&gt;&lt;P&gt;However this doesnt enforce the change until the user manually changes their password having logged in with the previous 8 character password..&lt;/P&gt;&lt;P&gt;Is there a setting that will enforce ALL users to change their password accordingly on their next login? I know this can be done for individual users via passwd -f "username" but is there a way of setting it for all?&lt;/P&gt;&lt;P&gt;Release is HPUX 11.31.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 15:53:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forcing-password-change/m-p/7042611#M729754</guid>
      <dc:creator>Mark Parsons</dc:creator>
      <dc:date>2019-04-16T15:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing password change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forcing-password-change/m-p/7042647#M729755</link>
      <description>&lt;P&gt;Yes there is a single command and option to expire every entry in /etc/passwd.&lt;/P&gt;&lt;P&gt;HOWEVER, this is *&lt;STRONG&gt;every&lt;/STRONG&gt;* entry in the passwd file including subsystems like SAMBA shares, webadmin, www, sfmdb, tftp, oracle, sybase, etc. Now may of these entries may not actually login but serve as an owner for files, etc.&amp;nbsp; Automated logins for file transfers and other remote access will break. So if you force every entry in the passwd file to require a mandatory passwd change, a lot of unexpected things will happen.&lt;/P&gt;&lt;P&gt;So the command is: &lt;STRONG&gt;/usr/lbin/modprpw -E&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;--- DON'T USE IT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Instead, use&lt;STRONG&gt; /usr/lbin/modprpw -e &lt;EM&gt;user-name&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then specify a specific user to expire. Then repeat with the other users on the system.&lt;/P&gt;&lt;P&gt;If you have a lot of users, you'll need to do a lot of typing or use a script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if the auditors demand every password must change, be sure to schedule downtime to solve system issues.&lt;BR /&gt;This will be required because no one remembers the password for certain automated accounts.&lt;/P&gt;&lt;P&gt;Finally: the man page is very poor in documenting the effectiveness of the MIN_PASSWORD_LENGTH setting. It works for Trusted systems but there are other security services besides Trusted. Try the MIN_PASSWORD_LENGTH for a test user to see if it works.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 00:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forcing-password-change/m-p/7042647#M729755</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2019-04-17T00:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing password change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forcing-password-change/m-p/7042679#M729756</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Bill's suggestion looks apt for your environment.&lt;/P&gt;&lt;P&gt;Else you may try to convert system to trusted and change the required parameters.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 06:33:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forcing-password-change/m-p/7042679#M729756</guid>
      <dc:creator>Mani_Np</dc:creator>
      <dc:date>2019-04-17T06:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing password change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forcing-password-change/m-p/7042732#M729757</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The server concerned is trusted anyway.&lt;/P&gt;&lt;P&gt;I have run the following on the server as root:&lt;/P&gt;&lt;P&gt;passwd -f user-id&lt;/P&gt;&lt;P&gt;and also&lt;/P&gt;&lt;P&gt;/usr/lbin/modprpw &lt;STRONG&gt;-e&lt;/STRONG&gt; user-id&lt;/P&gt;&lt;P&gt;Neither of them seem to work - the user-id concerned does not get asked to change the password on the next login!&lt;/P&gt;&lt;P&gt;(The only thing I can think of is the passwd and/or modprpw isnt taking effect because the root account that is using them has been gained by sudo from the actual user-id concerned)&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 12:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forcing-password-change/m-p/7042732#M729757</guid>
      <dc:creator>Mark Parsons</dc:creator>
      <dc:date>2019-04-17T12:09:05Z</dc:date>
    </item>
  </channel>
</rss>

