Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 14:51:33 +0500 (ES)
From:      anton@urc.ac.ru
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   misc/10005: Update /etc/motd
Message-ID:  <199902090951.OAA69084@belle.urc.ac.ru>

next in thread | raw e-mail | index | archive | help

>Number:         10005
>Category:       misc
>Synopsis:       Update /etc/motd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 10 03:50:02 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Anton Voronin
>Release:        FreeBSD 3.0-STABLE i386
>Organization:
Southern Ural State University, Chelyabinsk, Russia
>Environment:


>Description:

If an administrator leaves rc.conf parameters clear_tmp_enable="NO" and
update_motd="YES" unchanged then any user can prevent updating of /etc/motd

>How-To-Repeat:

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.

>Fix:
	
Change /etc/rc:

366c366
<       rm -f $T
---
>       rm -rf $T
371c371
<       rm -f $T
---
>       rm -rf $T

>Release-Note:
>Audit-Trail:
>Unformatted:

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?199902090951.OAA69084>