Subject: misc/1405: change mtree permissions on ftp/master.passwd
To: None <gnats-bugs@NetBSD.ORG>
From: None <jonb@metronet.com>
List: netbsd-bugs
Date: 08/24/1995 07:20:05
>Number: 1405
>Category: misc
>Synopsis: fix mtree permissions on /var/spool/ftp/etc/master.passwd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 24 22:20:01 1995
>Last-Modified:
>Originator: Jon Buller
>Organization:
none at all
>Release: NetBSD-current Aug 16, 1995
>Environment:
System: NetBSD bullbox 1.0A NetBSD 1.0A (BULLBOX) #2: Fri May 12 23:13:01 CDT 1995 jonb@bullbox:/usr/src/sys/arch/pc532/compile/BULLBOX pc532
>Description:
the daily security report claims that /var/spool/ftp/etc/master.passwd
should have 644 permissions. I believe it should be 600.
>How-To-Repeat:
let cron run a security report or run it yourself manually, or just
run the part that matters.
>Fix:
*** /etc/mtree/special Thu Aug 24 06:58:23 1995
--- /usr/src/etc/mtree/special Fri Apr 21 04:48:29 1995
***************
*** 140,146 ****
etc type=dir mode=0755 uname=root gname=wheel
group type=file mode=644 uname=root gname=wheel
localtime type=file mode=644 uname=root gname=wheel
! master.passwd type=file mode=600 uname=root gname=wheel
passwd type=file mode=644 uname=root gname=wheel
.. #var/spool/ftp/etc
hidden type=dir mode=0111 uname=root gname=wheel ignore
--- 140,146 ----
etc type=dir mode=0755 uname=root gname=wheel
group type=file mode=644 uname=root gname=wheel
localtime type=file mode=644 uname=root gname=wheel
! master.passwd type=file mode=644 uname=root gname=wheel
passwd type=file mode=644 uname=root gname=wheel
.. #var/spool/ftp/etc
hidden type=dir mode=0111 uname=root gname=wheel ignore
>Audit-Trail:
>Unformatted: