<?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/2524416#M24115</link>
    <description>from the passwd man page:&lt;BR /&gt;-n min   Determine the minimum number of days, min, that must transpire before the user can change the password.&lt;BR /&gt;-w warn   Specify the number of days, warn, prior to the password expiring when the user will be notified that the password needs to be changed.  This option is only enabled when the system has been converted to a trusted, secure system.  Refer to the Managing Systems and Workgroups manual for how to convert your HP-UX to a trusted, secure system.&lt;BR /&gt;-x max   Determine the maximum number of days, max, a password can remain unchanged.  The user must enter another password after that number of days has transpired, known as the password expiration time.&lt;BR /&gt;&lt;BR /&gt;the useradd just has the option to expire the login account, but not the password.&lt;BR /&gt;&lt;BR /&gt;good luck.</description>
    <pubDate>Thu, 03 May 2001 13:17:46 GMT</pubDate>
    <dc:creator>Pedro Sousa</dc:creator>
    <dc:date>2001-05-03T13:17:46Z</dc:date>
    <item>
      <title>Password Aging.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/2524415#M24114</link>
      <description>Is there a way that I can script a password expiration time and minimum time between changes?  Here is the the situation; we have a user template with those parameters set but I hate having to go through sam everytime I have to set up a new user.  &lt;BR /&gt;&lt;BR /&gt;Is there a way I can script this?  I was thinking of setting /etc/default/useradd to have the values I need and then just using useradd but I am nore sure of the values I need in useradd to achieve this.&lt;BR /&gt;&lt;BR /&gt;This is a 10.20 untrusted system.  Any help would be appreciated.  Thanks.&lt;BR /&gt;&lt;BR /&gt;Peter &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 May 2001 13:12:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/2524415#M24114</guid>
      <dc:creator>Peter Maitland</dc:creator>
      <dc:date>2001-05-03T13:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Password Aging.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/2524416#M24115</link>
      <description>from the passwd man page:&lt;BR /&gt;-n min   Determine the minimum number of days, min, that must transpire before the user can change the password.&lt;BR /&gt;-w warn   Specify the number of days, warn, prior to the password expiring when the user will be notified that the password needs to be changed.  This option is only enabled when the system has been converted to a trusted, secure system.  Refer to the Managing Systems and Workgroups manual for how to convert your HP-UX to a trusted, secure system.&lt;BR /&gt;-x max   Determine the maximum number of days, max, a password can remain unchanged.  The user must enter another password after that number of days has transpired, known as the password expiration time.&lt;BR /&gt;&lt;BR /&gt;the useradd just has the option to expire the login account, but not the password.&lt;BR /&gt;&lt;BR /&gt;good luck.</description>
      <pubDate>Thu, 03 May 2001 13:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/2524416#M24115</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-05-03T13:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Password Aging.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/2524417#M24116</link>
      <description>Hi Peter:&lt;BR /&gt;You can't do it with just useradd but you're on the right track.&lt;BR /&gt;The sequence is as follows:&lt;BR /&gt;1)useradd (if you want to change anything from the defaults args, do so; you're not trusted so&lt;BR /&gt;no -f we will set -e in a moment)&lt;BR /&gt;2) passwd username&lt;BR /&gt;  &amp;amp; enter his password&lt;BR /&gt;3) passwd -n min -x max username&lt;BR /&gt;&lt;BR /&gt;The last command will set minumum time between passwd changes to min days (rounded to the week) and the maximum valid passwd age to max days (again rounded to the week).&lt;BR /&gt;&lt;BR /&gt;If you are in an NIS environment you will have to use yppasswd(3) in a c program to do the equivalent and code a replacement for yppasswd(1).&lt;BR /&gt;&lt;BR /&gt;This should get you started, Clay &lt;BR /&gt;</description>
      <pubDate>Thu, 03 May 2001 15:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-aging/m-p/2524417#M24116</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-03T15:44:05Z</dc:date>
    </item>
  </channel>
</rss>

