NetBSD Problem Report #271
From gnats Mon May 30 02:51:06 1994
Received: from gandalf.bbb.no ([email protected] [192.124.156.194]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id CAA03239 for <[email protected]>; Mon, 30 May 1994 02:50:46 -0700
Message-Id: <[email protected]>
Date: Mon, 30 May 1994 11:49:45 +0200
From: Thorsten Lockert <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: /etc/motd is world writable
X-Send-Pr-Version: 3.2
>Number: 271
>Category: bin
>Synopsis: /etc/rc.local makes /etc/motd world writable
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 30 03:05:02 +0000 1994
>Closed-Date: Fri Jun 03 02:31:12 +0000 1994
>Last-Modified:
>Originator: Thorsten Lockert
>Release:
>Organization:
SigmaSoft, Th. Lockert
>Environment:
System: NetBSD gandalf.bbb.no 0.9B GANDALF#3 i386
>Description:
After updating the system name/version in /etc/motd, rc.local
proceeds to make it world writable.
>How-To-Repeat:
Boot your system.
>Fix:
*** src/etc/rc.local.orig Thu May 12 12:15:12 1994
--- src/etc/rc.local Mon May 30 11:46:43 1994
***************
*** 11,17 ****
echo "" >> $T
sed '1,/^$/d' < /etc/motd >> $T
cp $T /etc/motd
! chmod 666 /etc/motd
rm -f $T
echo -n 'starting local daemons:'
--- 11,17 ----
echo "" >> $T
sed '1,/^$/d' < /etc/motd >> $T
cp $T /etc/motd
! chmod 644 /etc/motd
rm -f $T
echo -n 'starting local daemons:'
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: cgd
State-Changed-When: Thu Jun 2 19:31:12 PDT 1994
State-Changed-Why:
not a bug. Not even a rationale for the requested changed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.