From owner-freebsd-stable Thu Oct 19 6:37:47 2000 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.tznet.com (smtp.tznet.com [206.31.5.6]) by hub.freebsd.org (Postfix) with ESMTP id E66D237B4C5 for ; Thu, 19 Oct 2000 06:37:42 -0700 (PDT) Received: from darkangel.gothic.com ([205.216.111.179]) by smtp.tznet.com with ESMTP (IPAD 2.52/64) id 3573300; Thu, 19 Oct 2000 08:37:39 -0500 Received: by darkangel.gothic.com (Postfix, from userid 1001) id A6D40A7; Thu, 19 Oct 2000 08:45:02 -0500 (CDT) Date: Thu, 19 Oct 2000 08:45:02 -0500 From: Michael Urban To: root Cc: freebsd-stable@freebsd.org Subject: Re: /etc/defaluts/rc.conf Message-ID: <20001019084502.A370@tznet.com> References: <20001019032830.A99825@snoopie.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001019032830.A99825@snoopie.yi.org>; from root@snoopie.yi.org on Thu, Oct 19, 2000 at 03:28:30AM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You are right from what I can tell. It looks like they intended to change the /etc/defaults/rc.conf to have inet.d, sendmail, and portmap off by default. However, it also looks like that never got done. It maybe has been fixed by now. The STABLE tree changes on a regular basis as improvments and fixes are made. P.S. Not a good idea to send and recieve mail as root. A better idea is to alias root so that it forwards root's mail to your normal user account. The reason for this is in case bugs are found in the email client that allow someone sending you mail to execute code (see recent buffer overflow errors in Pine for a good example). At least as a normal user, the code can only execute with normal user privilages and not as root. On Thu, Oct 19, 2000 at 03:28:30AM -0500, root wrote: > Hello.. > > I was just wondering about an entry in /usr/src/UPDATING. I just > cvsup'ed/mergemaster'ed today. The section in question is: > > 20000907: > Networking defaults have been tightened. Anybody upgrading > /etc/defaults/rc.conf needs to add the following lines to > /etc/rc.conf if they want to have the same setup > afterwards (unless the variables already are set, of course): > # Enable network daemons for user convenience. > inetd_enable="YES" > portmap_enable="YES" > sendmail_enable="YES" > > > Thats fine.. but no entries in /etc/defaults/rc.conf have changed to reflect > this entry. > > # egrep "inetd_enable|portmap_enable|sendmail_enable" /etc/defaults/rc.conf > inetd_enable="YES" # Run the network daemon dispatcher (or NO). > portmap_enable="YES" # Run the portmapper service (or NO). > sendmail_enable="YES" # Run the sendmail daemon (or NO). > > # diff /usr/src/etc/defaults/rc.conf /etc/defaults/rc.conf > # ls -la /usr/src/etc/defaults/rc.conf > -rw-r--r-- 1 root wheel 17014 Sep 1 03:00 /usr/src/etc/defaults/rc.conf > # ls -la /etc/defaults/rc.conf > -rw-r--r-- 1 root wheel 17014 Sep 6 03:14 /etc/defaults/rc.conf > > Thanks, > Eric Brueggmann > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message