SUMMARY: COPS warning! /etc/mtab World writable

From: Anchi Zhang (anchi@starbase.neosoft.com)
Date: Thu Nov 17 1994 - 00:03:40 CST


My original posting:

 COPS warns that my /etc/mtab is world writable. If I change the
 permissions of the file to 644, a reboot will set them back to 666.
 Command 'egrep "umask|mtab" /etc/*' reveals nothing suspicious.

 On a Sparc SunOS 4.1.3 machine, what sets /etc/mtab's permissions
 during boot?

Many thanks to

 dal@gcm.com (Dan Lorenzini)
 "Ralph C. Wolman" <rcw@netrix.com>
 einari@rhi.hi.is (Einar Indridason)
 olav.lerbrekk@geologi.uio.no (Olav Lerbrekk)
 bamby@supernet.com (Yehuda Bamnolker)
 james mularadelis <jamesm@matrix.newpaltz.edu>
 Ric Anderson <ric@Artisoft.COM>
 mattias@txc.com (Mattias Zhabinskiy 203-929-8810x251)
 Tom Orban <orban@advtech.uswest.com>
 pamela@jupiter.Legato.COM (Pamela Pledger)
 Kambiz Aghaiepour <kxaghai@srv.PacBell.COM>
 markus@octavia.anu.edu.au (Markus Buchhorn)

whose replies promted me to sandwich various statements by two
"ls -lg /etc/mtab >/dev/console" in /etc/rc* so as to determine
it was "quotaon -a" in /etc/rc that reset /etc/mtab's permissions
according to the value of umask. I have no idea why quotaon
would do such thing.

Anchi



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:15 CDT