<?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: How to force password change at 1st login? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720679#M1618</link>
    <description>No limitations of shell from the documentation I can see.  It should be done at the LOGIN level (which is what spawns the shell).&lt;BR /&gt;&lt;BR /&gt;What 'shell' are you using?</description>
    <pubDate>Fri, 10 May 2002 00:39:22 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2002-05-10T00:39:22Z</dc:date>
    <item>
      <title>How to force password change at 1st login?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720676#M1615</link>
      <description>I have a whole list of users to add to a new Red Hat 7.2 system and I want to add them without a password, or a temporary one, and have the system prompt them for a new login at 1st login time.&lt;BR /&gt;&lt;BR /&gt;Anyone know how to do this?</description>
      <pubDate>Thu, 09 May 2002 14:48:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720676#M1615</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2002-05-09T14:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to force password change at 1st login?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720677#M1616</link>
      <description>use -f options when you setup his/her temporary passwd.&lt;BR /&gt;&lt;BR /&gt;for example you setup blanck password on /etc/passwd file then&lt;BR /&gt;#passwd -f sachin&lt;BR /&gt;newpasswd:*****&lt;BR /&gt;newpasswd:****&lt;BR /&gt;&lt;BR /&gt;now when user sachin logs on with temporary passwd system will ask him to change his passwd.&lt;BR /&gt;&lt;BR /&gt; -f        This option forces the user to enter a new password on the next login.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Thu, 09 May 2002 15:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720677#M1616</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-05-09T15:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to force password change at 1st login?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720678#M1617</link>
      <description>I tried passwd -f, it did not work.  Does that only work if you select a particular shell for the user?</description>
      <pubDate>Thu, 09 May 2002 15:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720678#M1617</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2002-05-09T15:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to force password change at 1st login?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720679#M1618</link>
      <description>No limitations of shell from the documentation I can see.  It should be done at the LOGIN level (which is what spawns the shell).&lt;BR /&gt;&lt;BR /&gt;What 'shell' are you using?</description>
      <pubDate>Fri, 10 May 2002 00:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720679#M1618</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-05-10T00:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to force password change at 1st login?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720680#M1619</link>
      <description>I've tried /bin/bash and /bin/sh</description>
      <pubDate>Fri, 10 May 2002 12:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720680#M1619</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2002-05-10T12:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to force password change at 1st login?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720681#M1620</link>
      <description>Are you using this in NIS?&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Fri, 10 May 2002 13:39:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720681#M1620</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-05-10T13:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to force password change at 1st login?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720682#M1621</link>
      <description>No, NIS.&lt;BR /&gt;&lt;BR /&gt;I've just tried adding users with useradd, and through GNOME's interface.</description>
      <pubDate>Fri, 10 May 2002 13:48:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720682#M1621</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2002-05-10T13:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to force password change at 1st login?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720683#M1622</link>
      <description>Conform to a local standard for first time logins.  Let's say you create and id temp and give it the password id+random number, i.e. temp3991, so you give all your initial accounts a password with pattern id3991.  Then tell the user what the password will be and that it will be prompted to change it on the first login (users should be aware that they will be prompted for the new password twice).&lt;BR /&gt;&lt;BR /&gt;For the system to prompt for a new password at first login, the -f option should work:&lt;BR /&gt;&lt;BR /&gt;#  passwd -f temp3991&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;The user will login like this&lt;BR /&gt;login:  temp&lt;BR /&gt;passwd:  ######## (say temp3991)&lt;BR /&gt;new passwd:  ########&lt;BR /&gt;new passwd:  ########&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;</description>
      <pubDate>Sun, 12 May 2002 13:43:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720683#M1622</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-05-12T13:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to force password change at 1st login?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720684#M1623</link>
      <description>*blinks*&lt;BR /&gt;&lt;BR /&gt;*finds a 7.2 box*&lt;BR /&gt;&lt;BR /&gt;*tests*&lt;BR /&gt;&lt;BR /&gt;ugh..&lt;BR /&gt;&lt;BR /&gt;*reads documentation again*&lt;BR /&gt;&lt;BR /&gt;ugh..&lt;BR /&gt;&lt;BR /&gt;*plays some more*&lt;BR /&gt;&lt;BR /&gt;ugh!&lt;BR /&gt;&lt;BR /&gt;Ok.&lt;BR /&gt;  1) passwd -f is NOT force user to change a next login.  the '-f' flag under RH7.2 is for foricbly unlocking an account which has only an '!' in the password field.&lt;BR /&gt;&lt;BR /&gt;  2) Changing the "Password expires in" x "days" field to 0 doesn't force it to change the password now.&lt;BR /&gt;&lt;BR /&gt;  3) I'm having a bad morning :(&lt;BR /&gt;&lt;BR /&gt;After reading through far too many man pages in a morning than could possibly be good for a person, I'm having to admit that you'll probably need a scripted solution in order to achieve this goal, or find a utility on the 'net that will do it for you (possibly a PAM plugin).&lt;BR /&gt;&lt;BR /&gt;Unfortunately, I was unable to find such a thing in a quick 10 minute search.&lt;BR /&gt;&lt;BR /&gt;Sorry.</description>
      <pubDate>Sun, 12 May 2002 23:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-force-password-change-at-1st-login/m-p/2720684#M1623</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-05-12T23:18:16Z</dc:date>
    </item>
  </channel>
</rss>

