Date: Wed, 15 Jan 1997 00:28:15 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Subject: Re: Default accounting file permissions. Message-ID: <Mutt.19970115002815.j@uriah.heep.sax.de> In-Reply-To: <22178.853226812@time.cdrom.com>; from Jordan K. Hubbard on Jan 13, 1997 23:26:52 -0800 References: <22178.853226812@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
As Jordan K. Hubbard wrote: > If there's no /var/account/acct file, it creates one with the standard > umask by touching it and I think that this is bad. Would not: > > if [ ! -e /var/account/acct ]; then > touch /var/account/acct && chmod 600 /var/account/acct > fi > > Be safer, or would this break something? I don't think that Joe User > should be able to see what root (or anyone else) is up to. > > If no one can point out how this might be bad, I'll make the change. Make it at least 0640 root:wheel, so members of group wheel will be able to look at the accounting info without su'ing before. (They are already semi-trusted users anyway.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970115002815.j>