From owner-freebsd-bugs Wed Feb 10 06:54:03 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA07056 for freebsd-bugs-outgoing; Wed, 10 Feb 1999 06:54:03 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA07006 for ; Wed, 10 Feb 1999 06:54:00 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.2/8.9.1) id PAA13794; Wed, 10 Feb 1999 15:50:43 +0100 (CET) (envelope-from des) To: Anton Voronin Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/10005: Update /etc/motd References: <199902101400.GAA46405@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: 10 Feb 1999 15:50:43 +0100 In-Reply-To: Anton Voronin's message of "Wed, 10 Feb 1999 06:00:02 -0800 (PST)" Message-ID: Lines: 15 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Anton Voronin writes: > Dag-Erling Smorgrav wrote: > > anton@urc.ac.ru writes: > > > Leave original /etc/rc.conf unchanged and check that your /etc/rc.conf.local > > > does not redefine clear_tmp_enable and update_motd; > > > Create a directory /tmp/_motd. > > What do you do to prevent root from removing that directory? > Nothing - rm does not remove directories without -r or -d No, but rmdir does. My point is that your DoS is not a DoS, since root can trivially remove /etc/_motd if it's in the way. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message