<?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 scripts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949716#M926937</link>
    <description>Thanks everybody for your quick response.</description>
    <pubDate>Mon, 14 Apr 2003 18:51:31 GMT</pubDate>
    <dc:creator>Prasad Pati</dc:creator>
    <dc:date>2003-04-14T18:51:31Z</dc:date>
    <item>
      <title>change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949706#M926927</link>
      <description>how can we change password through scripts in hp-ux 11.0. Or any utilities available?</description>
      <pubDate>Fri, 11 Apr 2003 19:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949706#M926927</guid>
      <dc:creator>Prasad Pati</dc:creator>
      <dc:date>2003-04-11T19:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949707#M926928</link>
      <description>Currently there are no provisions in HPUX that I know of to change a passwd via a script. I have heard though, that you can download something called "expect" that will simulate an interactive session.&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Fri, 11 Apr 2003 19:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949707#M926928</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-04-11T19:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949708#M926929</link>
      <description>I hope we can achieve this by Perl if we can delay, like we used to do in Perl telnet module. I am not sure, but I'll certainly spend time on it and let you know.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Zafar</description>
      <pubDate>Fri, 11 Apr 2003 20:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949708#M926929</guid>
      <dc:creator>Zafar A. Mohammed_1</dc:creator>
      <dc:date>2003-04-11T20:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949709#M926930</link>
      <description>Yes, 'expect' has some features that claim to support this.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://expect.nist.gov" target="_blank"&gt;http://expect.nist.gov&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;is where you can find expect.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://expect.nist.gov/example/autopasswd" target="_blank"&gt;http://expect.nist.gov/example/autopasswd&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;shows an example.&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Apr 2003 03:50:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949709#M926930</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2003-04-12T03:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949710#M926931</link>
      <description>here is a sample script using expect.&lt;BR /&gt;&lt;BR /&gt;u can get expect from here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.38/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.38/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;+++++++++++++++++++++++++&lt;BR /&gt;[balajin@redpenguin X11]$ more /usr/bin/autopasswd &lt;BR /&gt;#!/usr/bin/expect -f&lt;BR /&gt;# wrapper to make passwd(1) be non-interactive&lt;BR /&gt;# username is passed as 1st arg, passwd as 2nd&lt;BR /&gt;&lt;BR /&gt;set password [lindex $argv 1]&lt;BR /&gt;spawn passwd [lindex $argv 0]&lt;BR /&gt;expect "password:"&lt;BR /&gt;send "$password\r"&lt;BR /&gt;expect "password:"&lt;BR /&gt;send "$password\r"&lt;BR /&gt;expect eof&lt;BR /&gt;+++++++++++++++++++++++++&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Sat, 12 Apr 2003 05:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949710#M926931</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-12T05:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949711#M926932</link>
      <description>hi&lt;BR /&gt;u might need this dependancy as well for installing expect&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Tcl/tcltk-8.3.4/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Tcl/tcltk-8.3.4/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Sat, 12 Apr 2003 05:52:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949711#M926932</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-12T05:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949712#M926933</link>
      <description>First you need to change the password in one system only, and then use a script to copy this password to the other systems, this is possible even if you are using a trusted system.&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Apr 2003 09:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949712#M926933</guid>
      <dc:creator>Andrew_80</dc:creator>
      <dc:date>2003-04-13T09:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949713#M926934</link>
      <description>Scripts are the less than optimal method. You would be far better served by implementing NIS (or better NIS+) and manage your passwords in one place.</description>
      <pubDate>Sun, 13 Apr 2003 22:35:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949713#M926934</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-04-13T22:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949714#M926935</link>
      <description>yes you could do this with expect.  I'll attach a sample script for you.  basically once installed you would type:&lt;BR /&gt;autoexpect -f &lt;FILENAME&gt; telnet hostname&lt;BR /&gt;#where filename is insert the name you want to save your script to.  Then proceed to use the passwd command to change your password.&lt;BR /&gt;&lt;BR /&gt;you will need to edit your script then to remove things such as the date/time otherwise the script will not work.  &lt;BR /&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Mon, 14 Apr 2003 12:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949714#M926935</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2003-04-14T12:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949715#M926936</link>
      <description>Are you looking to change 1 password or are you looking to maybe do a mass password change?  changing a group of identifiable users to a new/same password?&lt;BR /&gt;&lt;BR /&gt;Just asking,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2003 13:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949715#M926936</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2003-04-14T13:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: change password scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949716#M926937</link>
      <description>Thanks everybody for your quick response.</description>
      <pubDate>Mon, 14 Apr 2003 18:51:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-password-scripts/m-p/2949716#M926937</guid>
      <dc:creator>Prasad Pati</dc:creator>
      <dc:date>2003-04-14T18:51:31Z</dc:date>
    </item>
  </channel>
</rss>

