Date: Sun, 14 Apr 2002 15:09:11 +0100 From: Scott Mitchell <scott.mitchell@mail.com> To: Daniel Blankensteiner <db@traceroute.dk> Cc: Andrew Gould <andrewgould@yahoo.com>, freebsd-questions@FreeBSD.ORG Subject: Re: booting and inetd Message-ID: <20020414150911.B18618@fishballoon.dyndns.org> In-Reply-To: <003301c1e3bc$7e14be50$6800a8c0@rafter>; from db@traceroute.dk on Sun, Apr 14, 2002 at 03:58:44PM %2B0200 References: <20020414131019.31679.qmail@web13408.mail.yahoo.com> <003301c1e3bc$7e14be50$6800a8c0@rafter>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 14, 2002 at 03:58:44PM +0200, Daniel Blankensteiner wrote: > ----- Original Message ----- > From: "Andrew Gould" <andrewgould@yahoo.com> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020414150911.B18618>