Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 14:13:22 -0700
From:      faSty <fasty@i-sphere.com>
To:        Leonard Chung <leonard@ssl.berkeley.edu>
Cc:        freebsd-security@freebsd.org
Subject:   Re: "Correct" permissions on /var/mail?
Message-ID:  <20010624141322.A77852@i-sphere.com>
In-Reply-To: <5.1.0.14.2.20010624140225.02d492f0@chung.yikes.com>; from leonard@ssl.berkeley.edu on Sun, Jun 24, 2001 at 02:11:54PM -0700
References:  <5.1.0.14.2.20010624140225.02d492f0@chung.yikes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, the FreeBSD default 775 on /var/mail but my email server kept complain
stated /var/mail is security potiental so i had to set 1777 to shut the email
server up. It seems safe no security expliot lately on my shell server with
20 hardcore shell customers.

PS. This is going interesting topic discuss.. Im forwarding hear other people's
opinion. 

-trev

On Sun, Jun 24, 2001 at 02:11:54PM -0700, Leonard Chung wrote:
> I was having a debate with a colleague the other day on the correct mode 
> for /var/mail. He claimed that 1777 is more secure than what I've always 
> had (the FreeBSD default of root:mail 775).
> 
> 1777 gives you the additional benefit of protecting you from compromises on 
> the mail group, but requires that on every machine quotas be installed even 
> for machines with just one or two users. Without quotas, a malicious user 
> could fill up /var/mail creating a DoS for everybody receiving mail off 
> that machine. 775 doesn't protect against compromises of the mail group, 
> but has the added benefit that it protects against a user filling /var/mail 
> inadvertently as they would have to purposely send lots of e-mail.
> 
> Which do most of you use? Is there a reason /var/mail is initially set to 
> 775 rather than 1777?
> 
> Thanks,
> 
> Leonard
> 
> 
> --
> Leonard Chung - <leonard@ssl.berkeley.edu>
> SETI@home - The Search for Extraterrestrial Intelligence @ home
> http://www.setiathome.ssl.berkeley.edu
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010624141322.A77852>