<?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 aging in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318324#M186958</link>
    <description>Some points for the answers would be appreciated.</description>
    <pubDate>Thu, 21 Apr 2005 13:04:50 GMT</pubDate>
    <dc:creator>Nick D'Angelo</dc:creator>
    <dc:date>2005-04-21T13:04:50Z</dc:date>
    <item>
      <title>password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318318#M186952</link>
      <description>How do I turn on password aging for all my existing users without having to go into each one individually and change it?</description>
      <pubDate>Tue, 29 Jun 2004 11:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318318#M186952</guid>
      <dc:creator>Angela Swyers_1</dc:creator>
      <dc:date>2004-06-29T11:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318319#M186953</link>
      <description>There exists a utility called pwage and for the life of me I can not remember where it was right now. This utility modifies your encrypted password entry in the passwd file to change the password aging of any given user. By the word changing, I mean turns it on or off as well as determines the length of the expiration in the granulatrity of weeks. &lt;BR /&gt;&lt;BR /&gt;If you can get your hands on this utility, the task you are looking into is a plain vanilla script, something like (on an untrusted system):&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | while read line &lt;BR /&gt;do&lt;BR /&gt;username=`echo line | cut -d: -f1`&lt;BR /&gt;pwage [necessary swithches] $username&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;I hope someone here can direct you where to find this neat utility. I used to use it daily in one of my old workplaces and did not make a copy of it on a tape (dang).</description>
      <pubDate>Tue, 29 Jun 2004 11:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318319#M186953</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-06-29T11:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318320#M186954</link>
      <description>Well, you really have to do this for each user but the answer is to write a simple script: Here is a quick example assuming that you only want to age passwds with UIDS &amp;gt;= 101&lt;BR /&gt;&lt;BR /&gt;awk -F":" '{if (($3 + 0) &amp;gt;= 101) print $1}' &amp;lt; /etc/passwd | while read USR&lt;BR /&gt;do&lt;BR /&gt;  echo "User: ${USR}"&lt;BR /&gt;  passwd -x 90 -n 7 ${USR}&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;That will set the users' passwords to expire in 90 days (rounded to the nearest week) and require 7 days to pass before a passwd can be changed. You could also add a -f to force all passwd to be expired so that the users would need to change passwords upon the next login.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jun 2004 11:52:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318320#M186954</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-06-29T11:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318321#M186955</link>
      <description>You can do it with sam&lt;BR /&gt;&lt;BR /&gt;sam&lt;BR /&gt;&lt;BR /&gt;accounts and users &lt;BR /&gt;&lt;BR /&gt;accounts&lt;BR /&gt;&lt;BR /&gt;pick the account&lt;BR /&gt;&lt;BR /&gt;modify user&lt;BR /&gt;&lt;BR /&gt;There is a dialog to turn off aging&lt;BR /&gt;&lt;BR /&gt;This is automated as follows:&lt;BR /&gt;passwd -x max 0&lt;BR /&gt;passwd -x min 0&lt;BR /&gt;&lt;BR /&gt;This turns off aging.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 29 Jun 2004 11:56:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318321#M186955</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-06-29T11:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318322#M186956</link>
      <description>you will have to mention if it is a trusted system or not ?&lt;BR /&gt;&lt;BR /&gt;passwd with -x option will do for a system that is not trusted&lt;BR /&gt;&lt;BR /&gt;if your system is trusted then it is much easier.&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/modprdef -m exptm=90,expwarn=10,mintm=10 &lt;BR /&gt;&lt;BR /&gt;exptm - Password expiry time in days&lt;BR /&gt;expwarn - Password expiry warning&lt;BR /&gt;mintm - Minimum time between password changes&lt;BR /&gt;&lt;BR /&gt;but remember, in trusted system if you enable password aging and if the user has not changed their password in the last "exptm" days then their password will be expired. Worst if you have password lifetime set for the accounts, your user account will be disabled if they havent changed their password in "lftm" days.&lt;BR /&gt;&lt;BR /&gt;if you want the password aging to start counting the days from today then &lt;BR /&gt;&lt;BR /&gt;# /usr/lbin/modprpw -V&lt;BR /&gt;&lt;BR /&gt; The above command will reset the last successful password change time to the current time. &lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jun 2004 13:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318322#M186956</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-06-29T13:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318323#M186957</link>
      <description>I used ...&lt;BR /&gt;&lt;BR /&gt;SAM&lt;BR /&gt;&lt;BR /&gt;Auditing and Security&lt;BR /&gt;&lt;BR /&gt;System Security Policies&lt;BR /&gt;&lt;BR /&gt;Password Aging Policies  and others there for terminal settings etc.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jun 2004 13:15:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318323#M186957</guid>
      <dc:creator>Stan PIetkiewicz_1</dc:creator>
      <dc:date>2004-06-29T13:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: password aging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318324#M186958</link>
      <description>Some points for the answers would be appreciated.</description>
      <pubDate>Thu, 21 Apr 2005 13:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/3318324#M186958</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2005-04-21T13:04:50Z</dc:date>
    </item>
  </channel>
</rss>

