From owner-freebsd-bugs Mon Jul 27 04:01:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA25636 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 04:01:09 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA25628 for ; Mon, 27 Jul 1998 04:01:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id EAA00648; Mon, 27 Jul 1998 04:00:01 -0700 (PDT) Received: from shell6.ba.best.com (root@shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA24891 for ; Mon, 27 Jul 1998 03:58:10 -0700 (PDT) (envelope-from jkb@shell6.ba.best.com) Received: (from jkb@localhost) by shell6.ba.best.com (8.9.0/8.9.0/best.sh) id DAA13707; Mon, 27 Jul 1998 03:57:22 -0700 (PDT) Message-Id: <199807271057.DAA13707@shell6.ba.best.com> Date: Mon, 27 Jul 1998 03:57:22 -0700 (PDT) From: jkb@best.com Reply-To: jkb@best.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/7411: Wrong file permissions in /var/log/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7411 >Category: misc >Synopsis: Wrong file permissions in /var/log/ >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 27 04:00:01 PDT 1998 >Last-Modified: >Originator: Jan B. Koum >Organization: None >Release: FreeBSD 2.2.6-STABLE i386 >Environment: Any new install of 2.2.x >Description: Files in /var/log/ have incorrect permissions. Nobody in the world other then admins (who are in group wheel) has any reason to read /var/log/messages: chmod it to o-r Nobody has also any need to know who and from do we send and receive mail: chmod o-r /var/log/maillog Also, some files in /var/log/ (such lastlog, wtmp, maillog, messages) have g+w: this should be g-w >How-To-Repeat: Do fresh install of 2.2.x >Fix: # cd /var/log # chmod g-w * # chmod o-r * ; chmod a+r wtmp >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message