d87d6793f0
Add a chroot dir for the _rtadvd user. Drop privs to the user _rtadvd after acquiring our socket. When rc.d/rtadvd starts or reloads, the rtadvd config file is copied into the chroot before starting or reloading rtadvd itself. Create a symlink from /var/run/rtadvd.dump to the chroot Inital idea from OpenBSD patch rtadvd.c r1.36
36 lines
465 B
Plaintext
36 lines
465 B
Plaintext
wheel:*:0:root
|
|
daemon:*:1:daemon
|
|
kmem:*:2:root
|
|
sys:*:3:root
|
|
tty:*:4:root
|
|
operator:*:5:root
|
|
mail:*:6:
|
|
bin:*:7:
|
|
wsrc:*:9:
|
|
maildrop:*:11:
|
|
postfix:*:12:
|
|
games:*:13:
|
|
named:*:14:
|
|
ntpd:*:15:
|
|
sshd:*:16:
|
|
_pflogd:*:18:
|
|
_rwhod:*:19:
|
|
staff:*:20:root
|
|
_proxy:*:21:
|
|
_timedc:*:22:
|
|
_sdpd:*:23:
|
|
_httpd:*:24:
|
|
_mdnsd:*:25:
|
|
_tests:*:26:
|
|
_tcpdump:*:27:
|
|
_tss:*:28:
|
|
_gpio:*:29:
|
|
_rtadvd:*:30:
|
|
guest:*:31:root
|
|
nobody:*:39:
|
|
utmp:*:45:
|
|
authpf:*:72:
|
|
users:*:100:
|
|
dialer:*:117:
|
|
nogroup:*:32766:
|