[4689] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Changing default UMASK for all daemons

daemon@ATHENA.MIT.EDU (Joe Traister)
Sat Jun 14 22:38:48 1997

Date: 	Sat, 14 Jun 1997 17:34:03 -0400
Reply-To: Joe Traister <traister@GATE.NET>
From: Joe Traister <traister@GATE.NET>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <Pine.SOL.3.95q.970613234552.21478A-100000@ultra1>

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

home help back first fref pref prev next nref lref last post