delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <ADeFaria AT Salira DOT com> |
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> |
X-OriginalArrivalTime: | 16 Jan 2002 19:29:35.0764 (UTC) FILETIME=[219A8D40:01C19EC4] |
Tiffany Chan <ikbea88 AT yahoo DOT co DOT uk> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |