Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change ftp banner ?

Status
Not open for further replies.

samjoo

Technical User
May 24, 2004
51
Hi!
I need to remove version of ftp login banner for security and did following action:

#dspcat -g /usr/lib/nls/msg/en_US/ftpd.cat > /tmp/ftpd.msg
I've removed "%s" of 9th line in the ftpd.msg file using vi editor and then run following command;
#gencat /tmp/ftpd.cat /tmp/ftpd.msg
#cp -p /tmp/ftpd.cat /usr/lib/nls/msg/en_US/ftpd.cat
#refresh -s inetd

But system still show me the ftp version.
Could anyone explain me why this problem stiil happened?

thanks in advance!
 
I foung the string in ftpd binary file using "strings". I believe if you use ftpacces.ctl fiel (see man pages)you can tell it not to display the hearld. You will need to stop the daemon and restart it after making the changes to ftpacces.ctl
 
Hi! plamb, thanks for your reply!

I don't know how you said that. if you explain me detail method, it would be great!
 
samjoo,

Double check your process. It worked just as expected on my machine. Maybe your LANG or that of ftpd is to something other than "C" or "en_US". plamb is not referring to AIX ftpd, which does not use an ftpaccess.ctl file.

Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
If you are tightening security and access i'd disable telnet & ftp and use ssh & scp

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top