stsp 89b375f628 Fix gitdaemon rc.d(8) script's mechanism for setting the daemon's UID.
UID switching was controlled via git-dameon's --user option in $daemon_flags.
This is problematic in case $gitdaemon_flags is unwittingly set to some value
which omits the --user option: git-daemon would then run as root.

The fix implemented here sets $daemon_user to _gitdaemon by default,
and leaves $daemon_flags empty by default. This ensures that git-daemon
runs as user _gitdaemon regardless of the value of $gitdaemon_flags.

Anyone using git-daemon should check their system. If gitdaemon is
currently running as root, set gitdaemon_user=_gitdaemon in rc.conf.local
and restart the service.

ok kn@
2019-07-16 09:56:55 +00:00
..
2019-06-10 19:02:21 +00:00
2019-06-28 06:45:23 +00:00
2019-07-01 05:21:41 +00:00
2019-06-19 05:22:32 +00:00
2019-07-06 20:28:31 +00:00
2019-07-14 17:26:48 +00:00
2019-06-15 11:06:43 +00:00
2019-07-13 09:24:31 +00:00
2019-06-21 11:28:18 +00:00
2019-06-30 12:00:51 +00:00
2019-06-15 10:35:36 +00:00
2019-07-09 13:21:37 +00:00
2019-07-13 08:14:34 +00:00
2019-06-22 20:23:04 +00:00
2019-06-28 11:05:11 +00:00
2019-06-03 19:19:39 +00:00
2019-06-02 11:35:28 +00:00
2019-07-07 18:11:21 +00:00
2019-06-02 22:53:44 +00:00
2019-06-06 20:02:50 +00:00
2019-06-25 06:22:12 +00:00
2019-07-06 19:42:40 +00:00
2019-06-13 03:37:04 +00:00
2019-06-21 07:43:46 +00:00
2019-07-14 21:41:19 +00:00
2019-07-12 02:49:57 +00:00
2019-07-08 09:49:59 +00:00