<?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: Check user password expiry information ! in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/check-user-password-expiry-information/m-p/3167140#M9215</link>
    <description>&lt;BR /&gt;       -S     This  will  output  a  short information about the status of the&lt;BR /&gt;              password for a given account. Available to root user only.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From the man page&lt;BR /&gt;&lt;BR /&gt;passwd -S username&lt;BR /&gt;&lt;BR /&gt;You may want to use it in combination with other options.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Sun, 18 Jan 2004 22:53:26 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-01-18T22:53:26Z</dc:date>
    <item>
      <title>Check user password expiry information !</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-user-password-expiry-information/m-p/3167139#M9214</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I would like to create a script to collect all the user accounts with their password expiry date.&lt;BR /&gt;&lt;BR /&gt;This script will be executed on daily basis and generate a report for administrator to inform related account owners to login and change their password accordingly.&lt;BR /&gt;&lt;BR /&gt;From my understanding.  The expiry date in Unix is in terms of seconds and has a baseline set to 1-Jan-1970.  We need to take care for the maximum password life password policy as well.&lt;BR /&gt;&lt;BR /&gt;Any idea to creat the script ?  Appreciated it if you could give me some samples.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Chris,</description>
      <pubDate>Sun, 18 Jan 2004 22:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-user-password-expiry-information/m-p/3167139#M9214</guid>
      <dc:creator>Chris Fung</dc:creator>
      <dc:date>2004-01-18T22:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Check user password expiry information !</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-user-password-expiry-information/m-p/3167140#M9215</link>
      <description>&lt;BR /&gt;       -S     This  will  output  a  short information about the status of the&lt;BR /&gt;              password for a given account. Available to root user only.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From the man page&lt;BR /&gt;&lt;BR /&gt;passwd -S username&lt;BR /&gt;&lt;BR /&gt;You may want to use it in combination with other options.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 18 Jan 2004 22:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-user-password-expiry-information/m-p/3167140#M9215</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-18T22:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Check user password expiry information !</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-user-password-expiry-information/m-p/3167141#M9216</link>
      <description>As Stevens says, passwd -S gives you the information you need for each user. The first part indicates if the user account is locked (L), has no password (NP), or has a usable password (P). The second part gives the date of the last password change. The next four parts are the minimum age, maximum age, warning period, and inactivity period for the password.&lt;BR /&gt;&lt;BR /&gt;Maybe could you loop a script searching for each number above 500 (if your user accounting starts from 500), and just calculating max age - last change and piping it to a .txt if it's less than the value you want...&lt;BR /&gt;&lt;BR /&gt;Would it suit your needs ?&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 19 Jan 2004 03:02:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-user-password-expiry-information/m-p/3167141#M9216</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2004-01-19T03:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Check user password expiry information !</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-user-password-expiry-information/m-p/3167142#M9217</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Thanks for the inputs !!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Chris,</description>
      <pubDate>Tue, 20 Jan 2004 21:06:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-user-password-expiry-information/m-p/3167142#M9217</guid>
      <dc:creator>Chris Fung</dc:creator>
      <dc:date>2004-01-20T21:06:35Z</dc:date>
    </item>
  </channel>
</rss>

