I don't think we should do that.

Alexander Bluhm <alexander.bl...@gmx.net> wrote:

> On Fri, Oct 30, 2020 at 09:59:09AM -0600, Theo de Raadt wrote:
> > 1 - historically it requires a file to be pre-created.  In the rc scripts,
> >     this is a touch.  That grabs the umask and ownership of root's run of
> >     /etc/rc.
> > 2 - could we do better, in some way?
> 
> We could do the same as we do with other logfiles.  Create them
> during installation like syslog log files.  User can simply enable
> accounting.  Nothing changes for existing installations.
> 
> bluhm
> 
> Index: distrib/sets/lists/etc/mi
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/distrib/sets/lists/etc/mi,v
> retrieving revision 1.218
> diff -u -p -r1.218 mi
> --- distrib/sets/lists/etc/mi 2 Dec 2019 02:45:18 -0000       1.218
> +++ distrib/sets/lists/etc/mi 3 Nov 2020 16:55:31 -0000
> @@ -50,6 +50,7 @@
>  ./root/.login
>  ./root/.profile
>  ./root/.ssh/authorized_keys
> +./var/account/acct
>  ./var/crash/minfree
>  ./var/cron/at.deny
>  ./var/cron/cron.deny
> 

Reply via email to