Re: ftp error messages
From: Adams Kevin J (kevin.adams_at_PHS.COM)
Date: 06/25/04
- Previous message: David Zarnoch: "Re: LTO drive install problems"
- Maybe in reply to: David Zarnoch: "ftp error messages"
- Next in thread: David Zarnoch: "Re: ftp error messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: David Zarnoch: "Re: LTO drive install problems"
- Maybe in reply to: David Zarnoch: "ftp error messages"
- Next in thread: David Zarnoch: "Re: ftp error messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|