This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openbsd:shell [2020/03/22 13:57] jrmu |
openbsd:shell [2020/05/19 00:27] (current) jrmu |
||
---|---|---|---|
Line 173: | Line 173: | ||
# chmod 750 /var/log | # chmod 750 /var/log | ||
# chmod o-rx /var/log/* | # chmod o-rx /var/log/* | ||
+ | # chmod -R o-rx /etc/mail | ||
</code> | </code> | ||
Line 213: | Line 214: | ||
Create symlinks for users so they don't complain: | Create symlinks for users so they don't complain: | ||
+ | <code> | ||
ln -s /usr/local/bin/tclsh8.6 /usr/local/bin/tclsh | ln -s /usr/local/bin/tclsh8.6 /usr/local/bin/tclsh | ||
ln -s /usr/local/bin/python3.7 /usr/local/bin/python | ln -s /usr/local/bin/python3.7 /usr/local/bin/python | ||
+ | </code> | ||
+ | |||
+ | You will want to have /var/www/etc/resolv.conf to allow DNS lookup inside the chroot: | ||
+ | |||
+ | <code> | ||
+ | # mkdir /var/www/etc/ | ||
+ | # cp /etc/resolv.conf /var/www/etc/ | ||
+ | # chown -R www:daemon /var/www/etc | ||
+ | </code> |