<?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: Change user password in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077157#M74213</link>
    <description>On HP-UX this command works:&lt;BR /&gt; &lt;BR /&gt;passwd -f &lt;USERNAME&gt; &lt;BR /&gt; &lt;BR /&gt;issued as root.&lt;BR /&gt; &lt;BR /&gt;I just tried that in Red Hat 7.3 and to my surprise it did not work.&lt;BR /&gt; &lt;BR /&gt;passwd -x 0 &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;Will probably do the trick though.&lt;BR /&gt; &lt;BR /&gt;From the man page.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;       -x     This will set the  maximum  password  lifetime,  in  days, if the user's account supports password life times.  Available to root only.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;SEP&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
    <pubDate>Thu, 25 Sep 2003 19:54:24 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-09-25T19:54:24Z</dc:date>
    <item>
      <title>Change user password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077155#M74211</link>
      <description>I want to force the users to change the password , I tried to use the command "chage", it is great problem , it don't allow two users or above to change password at the same time , it will hold at the below screen , &lt;BR /&gt;&lt;BR /&gt;my command is&lt;BR /&gt;# chage -d0 userid1&lt;BR /&gt;# chage -d0 userid2&lt;BR /&gt;&lt;BR /&gt;But when userid1 is changing the password, then userid2 can't change the password at the same time,&lt;BR /&gt;the below is the error :&lt;BR /&gt;login: user2 &lt;BR /&gt;You are required to change your password immediately (root enforced)&lt;BR /&gt;&lt;BR /&gt;we have about 200 users so it is a great problem of us , can suggest how to solve it ? thx.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2003 04:35:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077155#M74211</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-09-24T04:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change user password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077156#M74212</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;why not using passwd?&lt;BR /&gt;&lt;BR /&gt;Which distro are you using ? Are they all local user?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;JP</description>
      <pubDate>Thu, 25 Sep 2003 19:01:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077156#M74212</guid>
      <dc:creator>Jean-Pierre Denis</dc:creator>
      <dc:date>2003-09-25T19:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change user password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077157#M74213</link>
      <description>On HP-UX this command works:&lt;BR /&gt; &lt;BR /&gt;passwd -f &lt;USERNAME&gt; &lt;BR /&gt; &lt;BR /&gt;issued as root.&lt;BR /&gt; &lt;BR /&gt;I just tried that in Red Hat 7.3 and to my surprise it did not work.&lt;BR /&gt; &lt;BR /&gt;passwd -x 0 &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;Will probably do the trick though.&lt;BR /&gt; &lt;BR /&gt;From the man page.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;       -x     This will set the  maximum  password  lifetime,  in  days, if the user's account supports password life times.  Available to root only.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;SEP&lt;/USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 25 Sep 2003 19:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077157#M74213</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-25T19:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change user password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077158#M74214</link>
      <description>I think I got the same problem as Steven, the " -e " is not work .&lt;BR /&gt;&lt;BR /&gt;can anyone suggest what is the best way to regularly force users ( about 200 users in our company)  to change the password , and does anyone has a script to do it? thx.</description>
      <pubDate>Fri, 26 Sep 2003 04:17:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077158#M74214</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-09-26T04:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change user password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077159#M74215</link>
      <description>hi juno,&lt;BR /&gt;&lt;BR /&gt;u can force the users to change their passwords on a regular basis by setting the min and max password aging options of passwd command&lt;BR /&gt;&lt;BR /&gt;passwd -n mindays -x maxdays username&lt;BR /&gt;&lt;BR /&gt;or maybe u can use &lt;BR /&gt;&lt;BR /&gt;chage -m0 username &lt;BR /&gt;&lt;BR /&gt;so that the user can change his/her password anytime.&lt;BR /&gt;&lt;BR /&gt;do it in the reverse order first give the chage  -m and then set the password lifetime using passwd.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;aparna</description>
      <pubDate>Mon, 29 Sep 2003 05:50:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-user-password/m-p/3077159#M74215</guid>
      <dc:creator>aparna challagulla</dc:creator>
      <dc:date>2003-09-29T05:50:48Z</dc:date>
    </item>
  </channel>
</rss>

