Re: ftp error messages

From: Adams Kevin J (kevin.adams_at_PHS.COM)
Date: 06/25/04

  • Next message: jeff barratt-mccartney: "Re: LTO drive install problems"
    Date:         Fri, 25 Jun 2004 09:48:01 -0700
    To: aix-l@Princeton.EDU
    
    

    When you say you want it to be the same, which one do you mean? The first
    the same as the second, or vice versa?

    You don't have to recompile or install anything, just change the ftpd
    message catalog as follows:

    # dspcat -g /usr/lib/nls/msg/en_US/ftpd.cat > /tmp/ftpd.msg
    # vi /tmp/ftpd.msg (look for and change the message text)
    # gencat /tmp/ftpd.cat /tmp/ftpd.msg
    # cp -p /tmp/ftpd.cat /usr/lib/nls/msg/en_US/ftpd.cat

    You will probably be asked to change your FTP server version info to
    something more generic, i.e., "FTP server ready" (no version info), and this
    method allows you to do that as well.

    Be careful not to break anything that looks for certain messages, like an
    Expect script that automates ftp processes.

    Kevin Adams

    PacifiCare Behavioral Health
    3120 Lake Center Drive
    Mail Stop LC01-394
    Santa Ana, CA 92704

    Email: kevin.adams@phs.com
    Work: 714-445-0343
    Fax: 714-445-0475

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    David Zarnoch
    Sent: Friday, June 25, 2004 8:26 AM
    To: aix-l@Princeton.EDU
    Subject: [aix-l] ftp error messages

    Folks,

    Got an unusual request from our Security department

    When you ftp to a server with an incorrect user id, it results in the
    following:

    Connected to <some address>
    220 chh-lpar1 FTP server (Version 4.1 Fri Nov 21 12:40:53 CST 2003) ready.
    Name (<some address>:me): blah
    331 Password required for blah.
    Password:
    530 Login incorrect.
    Login failed.
    ftp>

    When yo ftp to a server with an incorrect password, it results in:

    530-3004-300 You entered an invalid login name or password.

    530 Login incorrect.
    Login failed.
    ftp>

    Is there anyway to get ftp to display the same error message regardless
    whether it was an invalid password or invalid user id?

    Thanks!

    Dave Zarnoch
    dave.zarnoch@bisys.com

    This electronic message transmission, including any attachments, contains information from PacifiCare Health Systems Inc. which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.
    If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.


  • Next message: jeff barratt-mccartney: "Re: LTO drive install problems"

    Relevant Pages

    • Re: ftp error messages
      ... Download gnuftp and change the error message in the code and recompile? ... When you ftp to a server with an incorrect user id, ... 530 Login incorrect. ...
      (AIX-L)
    • Re: IIS 6.0 FTP
      ... Server port: 21. ... I doubt IIS FTP has such feature. ... next, general 530 error indicating login failed, that could due to ... clients are using an order entry program created in Microsoft access. ...
      (microsoft.public.inetserver.iis.ftp)
    • Re: IIS 6 FTP anonymous login
      ... go to the ftp server itself. ... enter command prompt. ... > login dialog which prompts me for my username/password. ...
      (microsoft.public.inetserver.iis.ftp)
    • Re: Whats a good ftp package?
      ... > 421 Unable to set up secure anonymous FTP ... what is a good ftp server for Suse 9.0 and where could I ... Ihave no idea how your friend ... wich might not be enabled, tries to login over a secure connection, wich ...
      (alt.os.linux.suse)
    • Re: ftp security tips?
      ... > I have no idea what FTP server I'm using. ... > 530 Please login with USER and PASS. ... That doesn't look like proftpd. ...
      (comp.os.linux.misc)

  • Quantcast