<?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 login script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/2954271#M752647</link>
    <description>Hi!  I'm trying to develop a script to create a user login and create a default password for this login that the user will be forced to change the first time they log in.  I can create the login, but need help with setting up the expiring password from within a script.  Please advise, and thanks!</description>
    <pubDate>Thu, 17 Apr 2003 17:44:43 GMT</pubDate>
    <dc:creator>CubanitaTechDiva</dc:creator>
    <dc:date>2003-04-17T17:44:43Z</dc:date>
    <item>
      <title>login script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/2954271#M752647</link>
      <description>Hi!  I'm trying to develop a script to create a user login and create a default password for this login that the user will be forced to change the first time they log in.  I can create the login, but need help with setting up the expiring password from within a script.  Please advise, and thanks!</description>
      <pubDate>Thu, 17 Apr 2003 17:44:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/2954271#M752647</guid>
      <dc:creator>CubanitaTechDiva</dc:creator>
      <dc:date>2003-04-17T17:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: login script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/2954272#M752648</link>
      <description>add these to your script,&lt;BR /&gt;&lt;BR /&gt;passwd -d &lt;USER name=""&gt;&lt;BR /&gt;passwd -f &lt;USER name=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The first line will remove the "*" from the password field and the second line will force the user to enter a new password.&lt;/USER&gt;&lt;/USER&gt;</description>
      <pubDate>Thu, 17 Apr 2003 17:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/2954272#M752648</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2003-04-17T17:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: login script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/2954273#M752649</link>
      <description>Gloria,&lt;BR /&gt;&lt;BR /&gt;If you've already got the account created, the man page for passwd seems to say you could use the -x and -f options to set expiration (in days) and immediately force the user change the password.&lt;BR /&gt;&lt;BR /&gt;Try something like:&lt;BR /&gt;&lt;BR /&gt;passwd &lt;USER&gt; &lt;DEFPASSWORD&gt;&lt;BR /&gt;passwd -x &lt;DAYS until="" normal="" password="" change=""&gt; -f &lt;NEWUSER&gt;&lt;BR /&gt;&lt;BR /&gt;Good Luck!&lt;BR /&gt;Seth&lt;/NEWUSER&gt;&lt;/DAYS&gt;&lt;/DEFPASSWORD&gt;&lt;/USER&gt;</description>
      <pubDate>Fri, 18 Apr 2003 13:37:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/2954273#M752649</guid>
      <dc:creator>Seth Parker</dc:creator>
      <dc:date>2003-04-18T13:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: login script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/2954274#M752650</link>
      <description>Hi Gloria:&lt;BR /&gt;&lt;BR /&gt;Check this out. It was posted yesterday:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x39279607df6ed711abdc0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x39279607df6ed711abdc0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;DR</description>
      <pubDate>Fri, 18 Apr 2003 15:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/2954274#M752650</guid>
      <dc:creator>Dario_1</dc:creator>
      <dc:date>2003-04-18T15:45:10Z</dc:date>
    </item>
  </channel>
</rss>

