Bugtraq mailing list archives

Re: Changing default UMASK for all daemons


From: traister () GATE NET (Joe Traister)
Date: Sat, 14 Jun 1997 17:34:03 -0400


On Fri, 13 Jun 1997, Dax Kelson wrote:

This is applicable regarding files created by syslog, ftpd, etc.

Dax Kelson
Internet Connect, Inc.

This is from the Solaris 2.x FAQ:
http://www.wins.uva.nl/pub/solaris/solaris2/

3.48) How can I prevent daemons from creating mode 666 files?

[ information about setting the umask during boot snipped ]

Unfortunately this will not fix the problem with /var/log/syslog being 666
since the log rotation script /usr/lib/newsyslog explicitly sets the mode
of this file to 666 when rotating it (at least under Solaris 2.5 on x86).

--
Joe Traister       |
traister () gate net  | "I said, 'Yeah, baby, yeah!  Evil's OK in my book!'"
CyberGate SysAdmin |    -- The Evil Midnight Bomber what Bombs at Midnight



Current thread: