From owner-freebsd-questions@FreeBSD.ORG Thu May 8 20:16:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8088E37B401 for ; Thu, 8 May 2003 20:16:30 -0700 (PDT) Received: from mail.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D271E43F93 for ; Thu, 8 May 2003 20:16:29 -0700 (PDT) (envelope-from munk@mail.munk.nu) Received: from munk by mail.munk.nu with local (Exim 4.14) id 19DyN1-0006s4-4H; Fri, 09 May 2003 04:16:27 +0100 Date: Fri, 9 May 2003 04:16:27 +0100 From: Jez Hancock To: Hudson T Clark Message-ID: <20030509031627.GA26108@users.munk.nu> Mail-Followup-To: Hudson T Clark , FreeBSD questions List References: <20030508.081208.-253989.0.dark_archon1@juno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030508.081208.-253989.0.dark_archon1@juno.com> User-Agent: Mutt/1.4.1i Sender: User Munk cc: FreeBSD questions List Subject: Re: rc.conf and inetd.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 03:16:30 -0000 Hi Hudson, On Thu, May 08, 2003 at 08:12:08AM -0700, Hudson T Clark wrote: > Ok I figured out a lot from the two people that helped me out with this > stuff. I got ssh working (I don't want telnet anymore!) I was just > wondering I have been looking and the only two files I know of that > control network services being started is rc.conf and inetd.conf what > could be starting this smtp service? The best resource/starting place is man rc. You'll find lots of useful info there and pointers to other manpages that cover what you need. In particular, network services are started from /etc/rc.network Essentially the rc.network file slurps in the base defaults in /etc/defaults/rc.conf first and then any settings you have in /etc/rc.conf override those defaults. These settings (variables) are then used in each of the rc files called from the 'super rc' file, /etc/rc (one of which is /etc/rc.network). See also this post: http://marc.theaimsgroup.com/?l=freebsd-questions&m=105231343528470&w=2 regarding rc network initialization. Best Regards, Jez