Date: 10 Feb 1999 15:50:43 +0100 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: Anton Voronin <anton@urc.ac.ru> Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/10005: Update /etc/motd Message-ID: <xzpzp6m9ut8.fsf@flood.ping.uio.no> In-Reply-To: Anton Voronin's message of "Wed, 10 Feb 1999 06:00:02 -0800 (PST)" References: <199902101400.GAA46405@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Anton Voronin <anton@urc.ac.ru> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpzp6m9ut8.fsf>