Date: Mon, 27 Jul 1998 03:57:22 -0700 (PDT) From: jkb@best.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: misc/7411: Wrong file permissions in /var/log/ Message-ID: <199807271057.DAA13707@shell6.ba.best.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807271057.DAA13707>