<?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 password in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047946#M6151</link>
    <description>thx reply ,&lt;BR /&gt;&lt;BR /&gt;I tried 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 , can suggest what is wrong in our system ? thx&lt;BR /&gt;&lt;BR /&gt;login: user2 &lt;BR /&gt;You are required to change your password immediately (root enforced)&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Aug 2003 00:07:54 GMT</pubDate>
    <dc:creator>juno2</dc:creator>
    <dc:date>2003-08-14T00:07:54Z</dc:date>
    <item>
      <title>Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047943#M6148</link>
      <description>I want to have a script to force the users to regularly change the login password on RH 8 , anyone can post the script for me ? thank in advance.</description>
      <pubDate>Wed, 13 Aug 2003 10:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047943#M6148</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-13T10:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047944#M6149</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is better than a script, it's a direct command (ah, UNIX...), called 'chage'.&lt;BR /&gt;Do a man chage for more details. You can chosse how often password must be changed, you can warn users several days in advance with personnalized messages, and so on...&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Wed, 13 Aug 2003 11:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047944#M6149</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-08-13T11:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047945#M6150</link>
      <description>To 'useradd' a new account with '-f days' option: &lt;BR /&gt;Number of days after the password expires until the account is disabled. (If 0 is specified, the account is disabled immediately after the password expires. If -1 is specified, the account will not be disabled after the password expires.) &lt;BR /&gt;&lt;BR /&gt;To 'usermod' an existing account with '-f days' option:&lt;BR /&gt;The number of days after a password expires until the account is permanently disabled. A value of 0 disables the account as soon as the password has expired, and a value of 0 disables the feature.</description>
      <pubDate>Wed, 13 Aug 2003 14:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047945#M6150</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-08-13T14:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047946#M6151</link>
      <description>thx reply ,&lt;BR /&gt;&lt;BR /&gt;I tried 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 , can suggest what is wrong in our system ? thx&lt;BR /&gt;&lt;BR /&gt;login: user2 &lt;BR /&gt;You are required to change your password immediately (root enforced)&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Aug 2003 00:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047946#M6151</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-14T00:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047947#M6152</link>
      <description>my command is&lt;BR /&gt;&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 , we have about 200 users so it is a great problem of us , can suggest how to solve it ? thx.</description>
      <pubDate>Thu, 14 Aug 2003 06:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047947#M6152</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-14T06:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047948#M6153</link>
      <description>I feel the problem comes from your -d option, which is used to set when password was last changed. Inputing -d0 implies that password was las changed in 1970, which may indeed make problems.&lt;BR /&gt;&lt;BR /&gt;Try chage this way :&lt;BR /&gt;&lt;BR /&gt;chage -M 30 -W 5 Mary&lt;BR /&gt;&lt;BR /&gt;This makes Mary change her password every 30 days, and be warned 5 days before that she'll have to change it...&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Thu, 14 Aug 2003 10:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047948#M6153</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-08-14T10:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047949#M6154</link>
      <description>Thx Henry,&lt;BR /&gt;&lt;BR /&gt;if not use -d0 , how to force the use change the password when the first time login ? thx</description>
      <pubDate>Fri, 15 Aug 2003 00:10:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047949#M6154</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-15T00:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047950#M6155</link>
      <description>To change password immediately, I would use -d, but not -d0, which indicates 1970 year !&lt;BR /&gt;&lt;BR /&gt;I would use :&lt;BR /&gt;&lt;BR /&gt;chage -d 2003/07/17 -M 30 -W 5 Mary&lt;BR /&gt;&lt;BR /&gt;I tell the machine that Mary changed her password on july 17th, 30 days ago, so she'll have to change today ! And then every 30 days, warned 5 days before deadline...&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Fri, 15 Aug 2003 04:45:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047950#M6155</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-08-15T04:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047951#M6156</link>
      <description>Thx Henry ,&lt;BR /&gt;&lt;BR /&gt;I tried the below command , but it still not force usera to change password , can advise what is problem in my command ? thx .&lt;BR /&gt;&lt;BR /&gt;# chage -d 2003/08/14 usera &lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2003 06:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047951#M6156</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-15T06:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047952#M6157</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;There are 2 ways of using chage :&lt;BR /&gt;&lt;BR /&gt;1. Using 'chage usera (enter)'&lt;BR /&gt;You are then prompted to define when will password expire, when it was changed last time and so on.&lt;BR /&gt;&lt;BR /&gt;2. Using 'chage -options usera'. This is what we do with -d or -W or -M.&lt;BR /&gt;&lt;BR /&gt;The problem with your command is that you use the second way, with -d, but you tell the machine when password was changed last time, not how long password must last. This is the -M option.&lt;BR /&gt;&lt;BR /&gt;If you just want the password to be changed now and once, then just run 'chage usera' and complete the asked questions.&lt;BR /&gt;&lt;BR /&gt;Hope this clears up...&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Fri, 15 Aug 2003 11:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047952#M6157</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-08-15T11:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047953#M6158</link>
      <description>thx herny's reply,&lt;BR /&gt;&lt;BR /&gt;i tried -M0 , but it still have the same problem , it don't allow two users change the password at the same time - when a user hold at the change password screen , then other user can't change the password at the same time , is there other solution ? thx</description>
      <pubDate>Sat, 16 Aug 2003 03:09:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047953#M6158</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-16T03:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047954#M6159</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm sorry not to make muself clearly understood. Chage is a command that can run one at a time. This means that, yes, you are right, when a user's password is expired and has to be changed, the chage commands awaits for the change to be validated before being able to do the same for another one. &lt;BR /&gt;&lt;BR /&gt;If 2 users connect to the same machine, at the same expiring moment, the second must wait the first to change the password before being able to do the same.&lt;BR /&gt;&lt;BR /&gt;That's why we use the -M argument along with -W, which allows users to be warned some days before expiry date, so they can run 'passwd user' before deadline, and not face the '100 people logging in at 8 am, all having to change password at the same second' problem.&lt;BR /&gt;&lt;BR /&gt;When it happens that 2 people do it at the same time, if the first doesn't change it fast, I just kill the shell he or she use, leaving room for the other, as this process should last a few seconds only.&lt;BR /&gt;&lt;BR /&gt;Hope it helps...&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Sat, 16 Aug 2003 11:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047954#M6159</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-08-16T11:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047955#M6160</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;Very thanks your help and I know you are really understand my sitution , but your method "When it happens that 2 people do it at the same time, if the first doesn't change it fast, I just kill the shell he or she use, leaving room for the other, as this process should last a few seconds only. "  Because we have many location ( some are distant area )to connect to our system , I can't kill all the users that are awaiting to change password because I would not know whether they are holding at the change password screen so other users can't change password at the same time.&lt;BR /&gt;can suggest other method ? thx.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 06:08:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047955#M6160</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-18T06:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047956#M6161</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;Please ignore my perviously message, &lt;BR /&gt;I tried the below command ,&lt;BR /&gt;&lt;BR /&gt;# chage -d 2003/08/19 -W5 usera ( today is 2003/8/18 ) &lt;BR /&gt;&lt;BR /&gt;I got two problems &lt;BR /&gt;&lt;BR /&gt;1. The warning message has displayed " Warning : Your password will expire in 1 day " , but the message will disappear very fast ( less than 1 second ) , the user indeed can't see the message .&lt;BR /&gt;&lt;BR /&gt;2. is it possible to change the warning message ? (eg. Please change your password within xx days, the password should .... )&lt;BR /&gt;&lt;BR /&gt;Thank you much your help&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 07:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047956#M6161</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-18T07:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047957#M6162</link>
      <description>Hello !&lt;BR /&gt;&lt;BR /&gt;1. Try to combine with -M agument. Besides, it's efficient if user logs in with a shell, not with X, as X is launched immediately after the message. If it's the case for you, then you could add a wait instruction in .basrc before startx to solve the problem...&lt;BR /&gt;&lt;BR /&gt;2. I'm afraid no. Maybe is it possible to re-compile chage command, but I'm not sure. What we do is we have a general welcome message (/etc/issue.net or any other file) that is displayed on login for everybody, in which we remind a few rules, among which passwords durations, passwd usera command, and some other things.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 12:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047957#M6162</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-08-18T12:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047958#M6163</link>
      <description>Thx reply , firstly , the user is not use X windows , they login to the shell and access the db , Besides, even I have add -M , the warning messge  is still appear , how can I make the message hold longer time ? thx</description>
      <pubDate>Wed, 20 Aug 2003 05:46:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047958#M6163</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-20T05:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047959#M6164</link>
      <description>Is there other method to have the warning message to users before the expiry date ? thx</description>
      <pubDate>Thu, 21 Aug 2003 12:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-password/m-p/3047959#M6164</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-08-21T12:27:02Z</dc:date>
    </item>
  </channel>
</rss>

