<?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: user must change password at first logon in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219171#M32941</link>
    <description>Hi Ivan thanks for help.&lt;BR /&gt;&lt;BR /&gt;we have two issues/demands&lt;BR /&gt;&lt;BR /&gt;1, user must change password at first logon&lt;BR /&gt;solution:  chage -d 0 &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;OK, done.&lt;BR /&gt;&lt;BR /&gt;2, at 15th of every month each user password must expires, and every user must have to change his/her password&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;maaz&lt;BR /&gt;&lt;/USERNAME&gt;</description>
    <pubDate>Fri, 20 Jun 2008 07:14:26 GMT</pubDate>
    <dc:creator>Maaz</dc:creator>
    <dc:date>2008-06-20T07:14:26Z</dc:date>
    <item>
      <title>user must change password at first logon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219169#M32939</link>
      <description>help ?</description>
      <pubDate>Thu, 19 Jun 2008 12:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219169#M32939</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-06-19T12:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: user must change password at first logon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219170#M32940</link>
      <description>chage -d 0 &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;See also:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1237877" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1237877&lt;/A&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 19 Jun 2008 12:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219170#M32940</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-06-19T12:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: user must change password at first logon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219171#M32941</link>
      <description>Hi Ivan thanks for help.&lt;BR /&gt;&lt;BR /&gt;we have two issues/demands&lt;BR /&gt;&lt;BR /&gt;1, user must change password at first logon&lt;BR /&gt;solution:  chage -d 0 &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;OK, done.&lt;BR /&gt;&lt;BR /&gt;2, at 15th of every month each user password must expires, and every user must have to change his/her password&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;maaz&lt;BR /&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Fri, 20 Jun 2008 07:14:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219171#M32941</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-06-20T07:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: user must change password at first logon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219172#M32942</link>
      <description>no. 2 issue check this link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cyberciti.biz/tips/linux-set-default-password-expiry-for-all-new-users.html" target="_blank"&gt;http://www.cyberciti.biz/tips/linux-set-default-password-expiry-for-all-new-users.html&lt;/A&gt;</description>
      <pubDate>Fri, 20 Jun 2008 07:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219172#M32942</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-06-20T07:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: user must change password at first logon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219173#M32943</link>
      <description>Hi ahsan, thanks for help.&lt;BR /&gt;&lt;BR /&gt;using /etc/login.defs alone, is not the solution .. because if a user has changed his/her password on 8th .. his/her password wont expires on 15th of that month.&lt;BR /&gt;&lt;BR /&gt;what i need is that at 15th of each month every user must has to change his/her password.. or password must expires on 15th of every month for ever user.&lt;BR /&gt;&lt;BR /&gt;I think it will be done by a script... am i right ? if yes then please share the code ;)&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 20 Jun 2008 11:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219173#M32943</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-06-20T11:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: user must change password at first logon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219174#M32944</link>
      <description>With chage you can also specify a maximum password life, for example, 30 days. If you want to exactly do it every 15, for some extrange reson, then yes, you must script it.&lt;BR /&gt;&lt;BR /&gt;Also, think about your users, changing passwords each month can be problematic, even for your administrators/help desk support.&lt;BR /&gt;&lt;BR /&gt;Anyway, you can run in cron something like:&lt;BR /&gt;&lt;BR /&gt;for USER in $( awk -F ":" '$3 &amp;gt; 500 { print $1 }' /etc/passwd)&lt;BR /&gt;do&lt;BR /&gt;  chage -d 0 $USER&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;This will force all users with UID &amp;gt; 500 to change their passwors.</description>
      <pubDate>Fri, 20 Jun 2008 11:17:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219174#M32944</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-06-20T11:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: user must change password at first logon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219175#M32945</link>
      <description>Hi Ivan, thanks for help.&lt;BR /&gt;yes this is a strange issue, but this the customers requirement.&lt;BR /&gt;&lt;BR /&gt;does this also works with ldap server ? i.e does "chage -d 0 &lt;USERID&gt;" will also expires the password of ldap users/accounts ?&lt;BR /&gt;&lt;BR /&gt;I am asking this question becuase the customer is asking about migration from NIS to LDAP domain... &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Maaz&lt;/USERID&gt;</description>
      <pubDate>Sat, 21 Jun 2008 13:06:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219175#M32945</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2008-06-21T13:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: user must change password at first logon</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219176#M32946</link>
      <description>does this also works with ldap server ?&lt;BR /&gt;According to "man chage", you can specify a binDN, that is, information to modify a LDAP directory server.&lt;BR /&gt;&lt;BR /&gt;And tell your customer that should forget about NIS at this time.</description>
      <pubDate>Sun, 22 Jun 2008 10:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-must-change-password-at-first-logon/m-p/4219176#M32946</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-06-22T10:12:58Z</dc:date>
    </item>
  </channel>
</rss>

