<?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 passwd using script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325495#M341252</link>
    <description>See useradd.sam threads:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1206959" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1206959&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1282661" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1282661&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1249875" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1249875&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1025499" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1025499&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=813273" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=813273&lt;/A&gt;</description>
    <pubDate>Thu, 18 Dec 2008 03:10:16 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-12-18T03:10:16Z</dc:date>
    <item>
      <title>change passwd using script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325494#M341251</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I need to autogenerate complex passwords and change it for users, using a single shell script. not expect script.&lt;BR /&gt;&lt;BR /&gt;can some pls share any script with me ?&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Thu, 18 Dec 2008 02:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325494#M341251</guid>
      <dc:creator>Pradep</dc:creator>
      <dc:date>2008-12-18T02:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd using script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325495#M341252</link>
      <description>See useradd.sam threads:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1206959" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1206959&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1282661" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1282661&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1249875" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1249875&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1025499" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1025499&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=813273" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=813273&lt;/A&gt;</description>
      <pubDate>Thu, 18 Dec 2008 03:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325495#M341252</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-18T03:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd using script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325496#M341253</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;What you're asking is not a generic, simple script, particularly if you're putting conditions on it such as no expect.&lt;BR /&gt;&lt;BR /&gt;You can use perl with the Expect module to automate the password exchange or you could use /usr/sam/lbin/usermod.sam -p ${encrypted_passwd}.  &lt;BR /&gt;&lt;BR /&gt;I've written several scripts that use the perl Expect module; honestly never tried the usermod.sam but it should work.&lt;BR /&gt;&lt;BR /&gt;The attached perl script will generate random passwords.  You can keep at it until you find one you like...&lt;BR /&gt;&lt;BR /&gt;$ ./gen_pwd&lt;BR /&gt;Password: 4dah9vuh&lt;BR /&gt;$ ./gen_pwd&lt;BR /&gt;Password: qud4tam5&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Thu, 18 Dec 2008 03:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325496#M341253</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2008-12-18T03:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd using script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325497#M341254</link>
      <description>Hi Doug,&lt;BR /&gt;&lt;BR /&gt;perl will do, as its installed in all the servers, but Expect is not installed.&lt;BR /&gt;&lt;BR /&gt;does expect module comes with Perl. if yes, perl script is ok for me. can u give me full script to generate and change passwd together ?&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Thu, 18 Dec 2008 03:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325497#M341254</guid>
      <dc:creator>Pradep</dc:creator>
      <dc:date>2008-12-18T03:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd using script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325498#M341255</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If possible make you system trusted then when you or any user want to change the passwd he/she will get the choice to create auto generated passwd by system itself.&lt;BR /&gt;No need to right any script to change passwd.&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2008 05:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-passwd-using-script/m-p/4325498#M341255</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-12-18T05:15:17Z</dc:date>
    </item>
  </channel>
</rss>

