<?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: Script Question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006204#M425577</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please compare the following: ~/.netrc and /etc/shells on the old and new servers. &lt;BR /&gt;HTH</description>
    <pubDate>Sat, 30 Sep 2006 11:12:59 GMT</pubDate>
    <dc:creator>Victor Fridyev</dc:creator>
    <dc:date>2006-09-30T11:12:59Z</dc:date>
    <item>
      <title>Script Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006201#M425574</link>
      <description>HPUX 11.23 PA-RISC RP3410&lt;BR /&gt;Hi all.  I moved a production system today from an old L2000 to a new RP3410.  The new RP3410 took the old ip address and user accounts/passwords.  Everything is fine...except 1 little script.  It uses a here document to ftp a file from this system to another...here's the snippet&lt;BR /&gt;&lt;BR /&gt;ftp host &amp;lt;&lt;ENDFTP&gt;&lt;/ENDFTP&gt;put 'blah blah'&lt;BR /&gt;ENDFTP&lt;BR /&gt;&lt;BR /&gt;and here is the error that show up in cron&lt;BR /&gt;&lt;BR /&gt;Error - incorrect permissions on /dev/tty.&lt;BR /&gt;Name (host:root): password missing from PASS command&lt;BR /&gt;Login failed.&lt;BR /&gt;Not logged in.&lt;BR /&gt;&lt;BR /&gt;No passwords have changed.  Any ideas?&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Sep 2006 15:20:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006201#M425574</guid>
      <dc:creator>Chrisl_2</dc:creator>
      <dc:date>2006-09-29T15:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Script Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006202#M425575</link>
      <description>Is it possible that on the old machine, you had set up a .netrc file.  This would allow the above to work without the requirement for password.&lt;BR /&gt;&lt;BR /&gt;Create a file on the machine that is going to run the script called .netrc in the home directory of the user, and then include the hostname and the password. (do man netrc for more info)&lt;BR /&gt;&lt;BR /&gt;echo    "machine  machine_name  login  login_name  password  the_password" &amp;gt;&amp;gt; $HOME/.netrc&lt;BR /&gt;&lt;BR /&gt;should do the trick.&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Fri, 29 Sep 2006 15:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006202#M425575</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2006-09-29T15:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006203#M425576</link>
      <description>Hi Chris:&lt;BR /&gt;&lt;BR /&gt;So where is the user/password?  Are you using a 'netrc' file?  Did you port that file to your new machine?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 29 Sep 2006 15:27:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006203#M425576</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-09-29T15:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Script Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006204#M425577</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please compare the following: ~/.netrc and /etc/shells on the old and new servers. &lt;BR /&gt;HTH</description>
      <pubDate>Sat, 30 Sep 2006 11:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006204#M425577</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-09-30T11:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Script Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006205#M425578</link>
      <description>.netrc.  You guys nailed it.&lt;BR /&gt;&lt;BR /&gt;Thx!</description>
      <pubDate>Mon, 02 Oct 2006 09:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006205#M425578</guid>
      <dc:creator>Chrisl_2</dc:creator>
      <dc:date>2006-10-02T09:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Script Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006206#M425579</link>
      <description>see thread.</description>
      <pubDate>Mon, 02 Oct 2006 09:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-question/m-p/5006206#M425579</guid>
      <dc:creator>Chrisl_2</dc:creator>
      <dc:date>2006-10-02T09:09:58Z</dc:date>
    </item>
  </channel>
</rss>

