timezone for 100.chksetuid

From: J.R. Oldroyd <fbsd_at_opal.com>
Date: Fri, 16 May 2014 15:53:24 +0200
I would like to propose that a timezone setting be possible for the

	src/etc/periodic/security/100.chksetuid

script.  Either fix it at something like UTC, or add an rc.conf setting
that specifies what timezone to use.  Or both, default to UTC but allow
a timezone setting in rc.conf.

Reason for this is that for folk who travel, the 100.chksetuid script
generates and diffs "find -ls" output and this output changes if you
change timezones and update the system timezone setting while you are
away.  It then changes back again when you return.  If you travel a lot,
the two timezone changes cause this script to flag every setuid file as
having changed (twice), when all that changed is the time display.  This
means that real changes during the same period will likely be overlooked
and the frequent non-real diffs tend to make one likely to ignore this
section.

	-jr
Received on Fri May 16 2014 - 11:53:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:49 UTC