Re: secure file permissions
On Sun, 7 Dec 2003, mi wrote:
> Can you tell me what are the default permissions for /etc/group and
> /etc/passwd ?
They are both 644 by default.
> I restricted them to rw for root only, but some things like exim (and
> possibly dpkg ?) seem to need read access there too.
> What's recommendet ?
> (Debian Woody 3.0 r1)
I would recommend that you do not change the default permissions for
those files. That's why shadow passwords exist (look at the files
/etc/shadow and /etc/gshadow).