Bugtraq mailing list archives

Re: SunOS newsyslog bug


From: jsz () ramon bgu ac il (jsz)
Date: Fri, 26 Aug 94 21:25:57 IDT



I was surprise to see that in SunOS (4.1.3 and U1) the command
/usr/lib/newsyslog do a 'chmod 666' on the $LOG (= syslog) file he just 
created.
Thus, after running newsyslog, which is done in the crontab,
the new log files is writable by everybody :-(

Does this chmod has been corrected by Sun?

jean.



The other real problem with /usr/lib/newsyslog is that it's being executed
by a crontab job as root, but it's owned by bin. 100103-12 patch doesn't
change its ownership.



Current thread: