Subject: Re: misc/18670: lastlog has bad permissions by default
To: NetBSD Bugs and PR posting List <netbsd-bugs@NetBSD.ORG>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: netbsd-bugs
Date: 10/16/2002 14:37:28
--H1spWtNR+x+ondvy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 16, 2002 at 12:23:01PM -0400, Greg A. Woods wrote:
> The file /var/log/lastlog is written to by the same programs that write
> to /var/log/wtmp and it must have the same permissions and ownerships.

Why should the group write bit not be the same, then?

/var/log/wtmp has 0644 permissions under NetBSD by default, so
whatever's writing to it has root permission. Why should lastlog be
any different?

--=20
gabriel rosenkoetter
gr@eclipsed.net

--H1spWtNR+x+ondvy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9rbHo9ehacAz5CRoRAq7TAKCr3GLQB0Asfdin9+WzQOjCGXwvZACeIAXM
MTOY+uFBPtweoigYztlmbVI=
=CiDx
-----END PGP SIGNATURE-----

--H1spWtNR+x+ondvy--