<?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: reset password aging in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/7015025#M490938</link>
    <description>&lt;P&gt;I realize this is an ancient topic thread but it is the first thing that came up when I Googled for this answer, and I actually don't think any of the responses answered the actual question that was asked - resetting the password &lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;age&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt; rather than modifying the password aging policy.&lt;/P&gt;&lt;P&gt;The solution I found was to grep the password hash for the user out of /etc/shadow, and then to use "&lt;STRONG&gt;usermod -p '&amp;lt;hash&amp;gt;' '&amp;lt;username&amp;gt;'&lt;/STRONG&gt;" to explicitly reset the password hash to this same value. This updated the password age field to current without modifying the user's password.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Aug 2018 10:54:21 GMT</pubDate>
    <dc:creator>Rubinstein</dc:creator>
    <dc:date>2018-08-15T10:54:21Z</dc:date>
    <item>
      <title>reset password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460362#M209997</link>
      <description>Is that any way to reset password age to zero by command line?&lt;BR /&gt;&lt;BR /&gt;That is in SAM, Accounts for Users and Groups  -&amp;gt; Modify Security Policies -&amp;gt; [Password Aging Policies]&lt;BR /&gt;"Reset Password Age to Zero"&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 11 Jan 2005 08:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460362#M209997</guid>
      <dc:creator>li_18</dc:creator>
      <dc:date>2005-01-11T08:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: reset password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460363#M209998</link>
      <description>passwd -n &lt;MIN days="" for="" change=""&gt; -x &lt;MAX days="" for="" change=""&gt; &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;This resets aging.&lt;BR /&gt;&lt;BR /&gt;example&lt;BR /&gt;&lt;BR /&gt;passwd -n 7 -x 60 schmobagel&lt;BR /&gt;&lt;BR /&gt;This resets the minimum time between changes to 7 days and the max to 60 days for user schmobagel&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/USERNAME&gt;&lt;/MAX&gt;&lt;/MIN&gt;</description>
      <pubDate>Tue, 11 Jan 2005 08:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460363#M209998</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-01-11T08:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: reset password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460364#M209999</link>
      <description>If system is not in trusted mode,&lt;BR /&gt;&lt;BR /&gt;passwd -n 0 -x 0 "user_name"&lt;BR /&gt;man passwd for details.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 11 Jan 2005 08:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460364#M209999</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-01-11T08:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: reset password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460365#M210000</link>
      <description>you may take a look at the man page for hints,&lt;BR /&gt;# man -k passwd&lt;BR /&gt;the following is an example from man page,&lt;BR /&gt;Force user2 to establish a new password on the next login which will expire in 70 days and prohibit the user from changing the password until 7 days have transpired:&lt;BR /&gt;# passwd -r files -f -x 70 -n 7 user2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2005 09:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460365#M210000</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2005-01-11T09:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: reset password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460366#M210001</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If the system is in trusted mode you can change thro sam if not &lt;BR /&gt;&lt;BR /&gt;use passwd -n 0 -x X The User ID&lt;BR /&gt;The number next to n is minimum days and value next to x is maximum days&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Tue, 11 Jan 2005 09:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460366#M210001</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2005-01-11T09:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: reset password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460367#M210002</link>
      <description>If the system IS Trusted, you can do a global reset from the command line with this:&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/modprpw -V&lt;BR /&gt;&lt;BR /&gt;This will reset all login IDs' last successful change date to the current date, essentially zeroing the exipration counter.&lt;BR /&gt;&lt;BR /&gt;If you are running an 11i system, you can man modprpw for all the info. The command exists on 11.0 systems, but there's no man page included.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Tue, 11 Jan 2005 09:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/3460367#M210002</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2005-01-11T09:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: reset password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/7015025#M490938</link>
      <description>&lt;P&gt;I realize this is an ancient topic thread but it is the first thing that came up when I Googled for this answer, and I actually don't think any of the responses answered the actual question that was asked - resetting the password &lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;age&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt; rather than modifying the password aging policy.&lt;/P&gt;&lt;P&gt;The solution I found was to grep the password hash for the user out of /etc/shadow, and then to use "&lt;STRONG&gt;usermod -p '&amp;lt;hash&amp;gt;' '&amp;lt;username&amp;gt;'&lt;/STRONG&gt;" to explicitly reset the password hash to this same value. This updated the password age field to current without modifying the user's password.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 10:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-password-aging/m-p/7015025#M490938</guid>
      <dc:creator>Rubinstein</dc:creator>
      <dc:date>2018-08-15T10:54:21Z</dc:date>
    </item>
  </channel>
</rss>

