Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FTP Server] Modifying Banner



Excellent!

Thank you for the help.

David


On 1/19/07, Victor DiMichina <email@hidden > wrote:
David Green wrote:
I would like to disable the banner in OS X FTP Server so the custom banner is shown, but the type of server is not shown.

220--------------------------------------------------------------------------------
220-            Welcome to my FTP server!
220-                         All User Activity Is Logged
220--------------------------------------------------------------------------------
220-
220 myftp FTP server (Version:  Mac OS X Server 10.3.9 003 - +GSSAPI) ready.


The line I do not want shown is the last line.  I have looked in the /Library/FTPServer/Messages directory to see how to disable it, but I haven't been too successful yet.
Edit the file:
/Library/FTPServer/Configuration/ftpaccess   

and change the line that reads:

greeting   full
to
greeting  brief
or
greeting terse

Stop and start the service and give it a go!  (tested on a 10.4.x server)

If you're on a 10.3.x server,  and the line doesn't exist,  put it in.   It's in the man pages

For some reason  "full" is the default on 10.3.x.   "Brief" is the default on 10.4.x.  

Vic




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >[FTP Server] Modifying Banner (From: "David Green" <email@hidden>)
 >Re: [FTP Server] Modifying Banner (From: Victor DiMichina <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.