<?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: Applying Password Policies to All Users in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/applying-password-policies-to-all-users/m-p/4109160#M30876</link>
    <description>Under Linux password related utilities and config file(s) comes from shadow password suite.&lt;BR /&gt;&lt;BR /&gt;The /etc/login.defs file can be used to define specific configuration or settings.&lt;BR /&gt;&lt;BR /&gt;This normally contains:&lt;BR /&gt;&lt;BR /&gt;1 . PASS_MAX_DAYS : Maximum number of days a password may be used. If the password is older than this, a password change will be forced. &lt;BR /&gt;&lt;BR /&gt;2. PASS_MIN_DAYS : Minimum number of days allowed between password changes. Any password changes attempted sooner than this will be rejected.&lt;BR /&gt;&lt;BR /&gt;3. PASS_WARN_AGE : Number of days warning given before a password expires. A zero means warning is given only upon the day of expiration, a negative value means no warning is given. If not specified, no warning will be provided.&lt;BR /&gt;&lt;BR /&gt;A typical file would be like this (for your requirement):&lt;BR /&gt;&lt;BR /&gt;cat etc/login.defs&lt;BR /&gt;PASS_MAX_DAYS 90&lt;BR /&gt;PASS_MIN_DAYS 0&lt;BR /&gt;PASS_WARN_AGE 14</description>
    <pubDate>Wed, 28 Nov 2007 14:55:18 GMT</pubDate>
    <dc:creator>~sesh</dc:creator>
    <dc:date>2007-11-28T14:55:18Z</dc:date>
    <item>
      <title>Applying Password Policies to All Users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/applying-password-policies-to-all-users/m-p/4109159#M30875</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I recently replaced an existing server with a newer model, and I was able to move the users with their respective passwords onto the new server. The new server is running the Fedora Core 7 distribution.&lt;BR /&gt;&lt;BR /&gt;I want to establish a password policy that has password age at a maximum of ninety (90) days, a minimum number of days required between password changes set to zero (0) days, a warning to password expiration set at fourteen (14) days, and the number of inactivity days over the maximum days before the user's account is disabled also set to zero.&lt;BR /&gt;&lt;BR /&gt;How can I set up the above configuration, and also have it immediately applied to the existing user accounts? Thanks.</description>
      <pubDate>Wed, 28 Nov 2007 14:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/applying-password-policies-to-all-users/m-p/4109159#M30875</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2007-11-28T14:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Password Policies to All Users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/applying-password-policies-to-all-users/m-p/4109160#M30876</link>
      <description>Under Linux password related utilities and config file(s) comes from shadow password suite.&lt;BR /&gt;&lt;BR /&gt;The /etc/login.defs file can be used to define specific configuration or settings.&lt;BR /&gt;&lt;BR /&gt;This normally contains:&lt;BR /&gt;&lt;BR /&gt;1 . PASS_MAX_DAYS : Maximum number of days a password may be used. If the password is older than this, a password change will be forced. &lt;BR /&gt;&lt;BR /&gt;2. PASS_MIN_DAYS : Minimum number of days allowed between password changes. Any password changes attempted sooner than this will be rejected.&lt;BR /&gt;&lt;BR /&gt;3. PASS_WARN_AGE : Number of days warning given before a password expires. A zero means warning is given only upon the day of expiration, a negative value means no warning is given. If not specified, no warning will be provided.&lt;BR /&gt;&lt;BR /&gt;A typical file would be like this (for your requirement):&lt;BR /&gt;&lt;BR /&gt;cat etc/login.defs&lt;BR /&gt;PASS_MAX_DAYS 90&lt;BR /&gt;PASS_MIN_DAYS 0&lt;BR /&gt;PASS_WARN_AGE 14</description>
      <pubDate>Wed, 28 Nov 2007 14:55:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/applying-password-policies-to-all-users/m-p/4109160#M30876</guid>
      <dc:creator>~sesh</dc:creator>
      <dc:date>2007-11-28T14:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Password Policies to All Users</title>
      <link>https://community.hpe.com/t5/operating-system-linux/applying-password-policies-to-all-users/m-p/4109161#M30877</link>
      <description>You should read this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.puschitz.com/SecuringLinux.shtml" target="_blank"&gt;http://www.puschitz.com/SecuringLinux.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Ensure that the parameters are changed in the /etc/login.defs and /etc/default/useradd files.&lt;BR /&gt;&lt;BR /&gt;You can use the "chage" command to apply the settings for existings users.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Nov 2007 16:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/applying-password-policies-to-all-users/m-p/4109161#M30877</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-11-28T16:50:41Z</dc:date>
    </item>
  </channel>
</rss>

