Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C45D4A8.7020300@Salira.com> Date: Wed, 16 Jan 2002 11:29:44 -0800 From: Andrew DeFaria Organization: Salira Optical Networks User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: How to stop ftp in Cygwin References: <1011194699 DOT 21501 DOT ezmlm AT cygwin DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Jan 2002 19:29:35.0764 (UTC) FILETIME=[219A8D40:01C19EC4] Tiffany Chan wrote: > Hi, > > I want to use Microsoft FTP Service, so I would like to stop the "Ftp" > in Cygwin (inetd), of course, i use > cygwin for telnet. > > How to stop "ftp" in cygwin ? The basic idea is to comment out the ftp entry in /etc/inetd.conf then cause inetd to reread its configuration or: $ sed 's/^ftp/\#ftp/' /etc/inetd.conf > /etc/inetd.new # Comment out ftp entry in /etc/inetd.conf $ mv /etc/inetd.new /etc/inetd.conf # Move new file into place $ net stop inetd # Stop inetd $ net start inetd # Restart inetd Note that you could also send a sighup to the inetd to cause it to reread it's configuration (of course there are two inetd processes running and I'm not sure if you need to send the sighup to both or not). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/