From owner-freebsd-questions Sun Apr 14 7: 9: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 5A1F237B404 for ; Sun, 14 Apr 2002 07:09:01 -0700 (PDT) Received: from lungfish.ntlworld.com ([80.4.0.215]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020414140859.YQVO14788.mta01-svc.ntlworld.com@lungfish.ntlworld.com>; Sun, 14 Apr 2002 15:08:59 +0100 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.6/8.11.6) with ESMTP id g3EE8wV43933; Sun, 14 Apr 2002 15:08:58 +0100 (BST) (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.11.6/8.11.6) id g3EE9B719303; Sun, 14 Apr 2002 15:09:11 +0100 (BST) (envelope-from scott) Date: Sun, 14 Apr 2002 15:09:11 +0100 From: Scott Mitchell To: Daniel Blankensteiner Cc: Andrew Gould , freebsd-questions@FreeBSD.ORG Subject: Re: booting and inetd Message-ID: <20020414150911.B18618@fishballoon.dyndns.org> References: <20020414131019.31679.qmail@web13408.mail.yahoo.com> <003301c1e3bc$7e14be50$6800a8c0@rafter> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003301c1e3bc$7e14be50$6800a8c0@rafter>; from db@traceroute.dk on Sun, Apr 14, 2002 at 03:58:44PM +0200 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 14, 2002 at 03:58:44PM +0200, Daniel Blankensteiner wrote: > ----- Original Message ----- > From: "Andrew Gould" > > If you're not going to use any services, you might as > > well not run the daemon. I'd suggest killing the > > daemon, rather than restarting it; and adding the > > following line to /etc/rc.conf: > > > > inetd_enable="NO" > > I use sshd, but my question is why the services don't stop when I restart > inetd. sshd isn't run from inetd, it's run at boot time if you have ssd_enable="YES" in /etc/rc.conf. Sendmail is handled the same way. inetd's job is to start new instances of services when something attempts to connect to them, so any ftpd (for example) started by inetd that happens to be running when you kill inetd, will carry on running until the FTP session ends. You won't be able to open a new FTP session, though. Restarting inetd just causes it to reload its config file and to start listening on a different set of ports for incoming connections. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message