<?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: FTP login fails before prompting for a password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133375#M450577</link>
    <description>&amp;gt; 220 rssapdb.ryder.com FTP server (Revision 3.0 Version wuftpd-2.6.1 Wed Dec 19 08:45:38 GMT 2007) ready.&lt;BR /&gt;&amp;gt; Name (rssapdb:hpzkeles): sapftp&lt;BR /&gt;&amp;gt; 331 Password required for sapftp.&lt;BR /&gt;&amp;gt; 530 Login incorrect.&lt;BR /&gt;&amp;gt; Login failed.&lt;BR /&gt;The hint here is that you are NOT prompted for a password. I bet that have a .netrc file on the AIX server which has an entry in it for the 11.31 server that contains a password entry but no login entry.</description>
    <pubDate>Thu, 02 Oct 2008 20:10:53 GMT</pubDate>
    <dc:creator>TTr</dc:creator>
    <dc:date>2008-10-02T20:10:53Z</dc:date>
    <item>
      <title>FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133368#M450570</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When trying to ftp from an AIX system to an HP-UX 11.31 system, the login fails before it even prompts for a password:&lt;BR /&gt;&lt;BR /&gt;rssap18:/home/hpzkeles&amp;gt;ftp -v rssapdb&lt;BR /&gt;Connected to rssapdb.ryder.com.&lt;BR /&gt;220 rssapdb.ryder.com FTP server (Revision 3.0 Version wuftpd-2.6.1 Wed Dec 19 08:45:38 GMT 2007) ready.&lt;BR /&gt;Name (rssapdb:hpzkeles): sapftp&lt;BR /&gt;331 Password required for sapftp.&lt;BR /&gt;530 Login incorrect.&lt;BR /&gt;Login failed.&lt;BR /&gt;ftp&amp;gt;&lt;BR /&gt;&lt;BR /&gt;From the syslog, I'm guessing it's an issue with pam:&lt;BR /&gt;&lt;BR /&gt;Oct  2 13:59:08 rssapdb ftpd[27650]: Data port : 20&lt;BR /&gt;Oct  2 13:59:08 rssapdb ftpd[27650]: FTP server (Revision 3.0 Version wuftpd-2.6.1 Wed Dec 19 08:45:38 GMT 2007) ready.&lt;BR /&gt;Oct  2 13:59:16 rssapdb ftpd[27650]: pam_authenticate:Authentication failed&lt;BR /&gt;Oct  2 13:59:16 rssapdb ftpd[27650]: User sapftp: Login incorrect&lt;BR /&gt;Oct  2 13:59:16 rssapdb ftpd[27650]: failed login from 168.218.96.203 [168.218.96.203]&lt;BR /&gt;Oct  2 14:04:49 rssapdb ftpd[27650]: FTP session closed&lt;BR /&gt;&lt;BR /&gt;Our ftp entries for pam.conf look like this:&lt;BR /&gt;&lt;BR /&gt;rssapdb -&amp;gt; /root&lt;BR /&gt;root # grep ftp /etc/pam.conf&lt;BR /&gt;ftp      auth required  libpam_hpsec.so.1&lt;BR /&gt;ftp      auth required  libpam_unix.so.1&lt;BR /&gt;ftp      account required       libpam_hpsec.so.1&lt;BR /&gt;ftp      account required       libpam_unix.so.1&lt;BR /&gt;ftp      session required       libpam_hpsec.so.1 bypass_limit_login bypass_umask bypass_nologin&lt;BR /&gt;ftp      session required       libpam_unix.so.1&lt;BR /&gt;&lt;BR /&gt;If I connect from another HP-UX system, it's working:&lt;BR /&gt;&lt;BR /&gt;rssapapp -&amp;gt; /etc&lt;BR /&gt;root # ftp rssapdb&lt;BR /&gt;Connected to rssapdb.ryder.com.&lt;BR /&gt;220 rssapdb.ryder.com FTP server (Revision 3.0 Version wuftpd-2.6.1 Wed Dec 19 08:45:38 GMT 2007) ready.&lt;BR /&gt;Name (rssapdb:hpzkeles): sapftp&lt;BR /&gt;331 Password required for sapftp.&lt;BR /&gt;Password:&lt;BR /&gt;230 User sapftp logged in.&lt;BR /&gt;Remote system type is UNIX.&lt;BR /&gt;Using binary mode to transfer files.&lt;BR /&gt;ftp&amp;gt; &lt;BR /&gt;&lt;BR /&gt;Oct  2 14:10:08 rssapdb ftpd[29248]: Data port : 20&lt;BR /&gt;Oct  2 14:10:08 rssapdb ftpd[29248]: FTP server (Revision 3.0 Version wuftpd-2.6.1 Wed Dec 19 08:45:38 GMT 2007) ready.&lt;BR /&gt;Oct  2 14:10:13 rssapdb ftpd[29248]: FTP LOGIN FROM rssapapp.ryder.com [168.218.96.165], sapftp&lt;BR /&gt;&lt;BR /&gt;I've also tried from HP-UX 11.11, and a RedHat Linux server, and am able to log in successfully.  We even have another AIX server we can ftp from successfully (but I don't see how anything on the client side could be causing this).  Any help with this one would be appreciated.</description>
      <pubDate>Thu, 02 Oct 2008 17:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133368#M450570</guid>
      <dc:creator>K. Lesperance</dc:creator>
      <dc:date>2008-10-02T17:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133369#M450571</link>
      <description>I do not have the answer but maybe discussing will find it.&lt;BR /&gt;&lt;BR /&gt;-all other servers work except AIX server1.  First assumption would be yes a client issue but...  first,&lt;BR /&gt;&lt;BR /&gt;any IP restrictions in either /var/adm/inetd.sec ?&lt;BR /&gt;ftp using tcp wrappers, look in hosts.deny for IP of AIX server&lt;BR /&gt;&lt;BR /&gt;Does AIX server1 have any issue FTPing to any other server.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Oct 2008 19:38:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133369#M450571</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-10-02T19:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133370#M450572</link>
      <description>Upon further investigation, I think it's the AIX client.  Another AIX server can ftp to our host in question successfully, and the problem server can't FTP to other HP-UX hosts.  &lt;BR /&gt;&lt;BR /&gt;We're not using tcp wrappers, and there's no /var/adm/inetd.sec file.</description>
      <pubDate>Thu, 02 Oct 2008 19:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133370#M450572</guid>
      <dc:creator>K. Lesperance</dc:creator>
      <dc:date>2008-10-02T19:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133371#M450573</link>
      <description>also, on server rssapdb:&lt;BR /&gt;&lt;BR /&gt;in inetd.conf: is the ftpd using the "-f" switch?  if so, check for "deny" entries in /etc/ftpaccess</description>
      <pubDate>Thu, 02 Oct 2008 19:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133371#M450573</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-02T19:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133372#M450574</link>
      <description>oopss ftpaccess activitate by&lt;BR /&gt;&lt;BR /&gt;ftpd -a&lt;BR /&gt;&lt;BR /&gt;sorry ...no points for this one</description>
      <pubDate>Thu, 02 Oct 2008 19:48:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133372#M450574</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-02T19:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133373#M450575</link>
      <description>&lt;!--!*#--&gt;inetd.conf looks like this:&lt;BR /&gt;&lt;BR /&gt; ftp          stream tcp6 nowait root /usr/lbin/ftpd     ftpd -l&lt;BR /&gt;&lt;BR /&gt;there's also no /etc/ftpaccess (or /etc/ftpd/ftpaccess).</description>
      <pubDate>Thu, 02 Oct 2008 19:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133373#M450575</guid>
      <dc:creator>K. Lesperance</dc:creator>
      <dc:date>2008-10-02T19:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133374#M450576</link>
      <description>So, &lt;BR /&gt;FTP client options ( no global ftp client settings I can think of ) only command line options.  &lt;BR /&gt;&lt;BR /&gt;Maybe a patch issue with this AIX server ?&lt;BR /&gt;&lt;BR /&gt;Does AIX to AIX work ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Oct 2008 19:52:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133374#M450576</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-10-02T19:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133375#M450577</link>
      <description>&amp;gt; 220 rssapdb.ryder.com FTP server (Revision 3.0 Version wuftpd-2.6.1 Wed Dec 19 08:45:38 GMT 2007) ready.&lt;BR /&gt;&amp;gt; Name (rssapdb:hpzkeles): sapftp&lt;BR /&gt;&amp;gt; 331 Password required for sapftp.&lt;BR /&gt;&amp;gt; 530 Login incorrect.&lt;BR /&gt;&amp;gt; Login failed.&lt;BR /&gt;The hint here is that you are NOT prompted for a password. I bet that have a .netrc file on the AIX server which has an entry in it for the 11.31 server that contains a password entry but no login entry.</description>
      <pubDate>Thu, 02 Oct 2008 20:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133375#M450577</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-10-02T20:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133376#M450578</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1st check this files /etc/ftpaccess  and /etc/ftpd/ftpaccess&lt;BR /&gt;If /etc/ftpacces file is not there then no issue this means every one can do ftp if file is there then make sure your ftpuser name should not be there in this file.&lt;BR /&gt;&lt;BR /&gt;2nd In /etc/ftp/ftpaccess file should having this 5 lines&lt;BR /&gt;&lt;BR /&gt;class users real,guest *&lt;BR /&gt;guestgroup ftp&lt;BR /&gt;suppressversion yes&lt;BR /&gt;log commands real,guest,anonymous&lt;BR /&gt;log transfers real,guest,anonymous * IN,OUT&lt;BR /&gt;&lt;BR /&gt;3rd  Edit the /etc/inetd.conf file and put -a -l&lt;BR /&gt;Ex.&lt;BR /&gt;ftp          stream tcp6 nowait root /usr/lbin/ftpd     ftpd -a -l&lt;BR /&gt;&lt;BR /&gt;after changing the same restart your network with&lt;BR /&gt;inetd -c&lt;BR /&gt;&lt;BR /&gt;then try ftp&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Oct 2008 07:11:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133376#M450578</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-10-03T07:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133377#M450579</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;I tried AIX to AIX, and that's not working, either.&lt;BR /&gt;&lt;BR /&gt;TTr,&lt;BR /&gt;&lt;BR /&gt;I looked for a .netrc in my home directory, and I don't have one.  This also doesn't work for other users.  I was wondering if there was a global netrc file, but I don't see one in /etc.</description>
      <pubDate>Fri, 03 Oct 2008 12:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133377#M450579</guid>
      <dc:creator>K. Lesperance</dc:creator>
      <dc:date>2008-10-03T12:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133378#M450580</link>
      <description>&amp;gt; I looked for a .netrc [...]&lt;BR /&gt;&lt;BR /&gt;Too bad.  That sounded to me like the best&lt;BR /&gt;theory by far.  Does "man ftp" on the AIX&lt;BR /&gt;system reveal some secret wisdom?  Safe to&lt;BR /&gt;assume that "ftp" there is not some weird&lt;BR /&gt;alias?  (Use the full path to make sure?)  It&lt;BR /&gt;sure seems to be sending a (bad) password,&lt;BR /&gt;and it apparently does it all on its own, so&lt;BR /&gt;it sure looks (to me) as if it's getting some&lt;BR /&gt;input from some (mysterious) source.&lt;BR /&gt;&lt;BR /&gt;"ftp -n [...}"</description>
      <pubDate>Fri, 03 Oct 2008 12:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133378#M450580</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-10-03T12:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133379#M450581</link>
      <description>As Steven suggested, check if ftp is replaced by an alias or by a shell script. Does AIX have truss available? Run the ftp command through truss to see what it is doing.</description>
      <pubDate>Fri, 03 Oct 2008 13:55:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133379#M450581</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-10-03T13:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTP login fails before prompting for a password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133380#M450582</link>
      <description>It turns out it was a permissions issue with one of the /dev/tty files.  &lt;BR /&gt;&lt;BR /&gt;Thanks everyone!</description>
      <pubDate>Fri, 03 Oct 2008 16:59:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-login-fails-before-prompting-for-a-password/m-p/5133380#M450582</guid>
      <dc:creator>K. Lesperance</dc:creator>
      <dc:date>2008-10-03T16:59:49Z</dc:date>
    </item>
  </channel>
</rss>

