Hi all, I'm a newbie looking for an answer I've not found:
I'm trying to block executable files running in a ZFS dataset. So I set setuid=off and exec=off in a data ZFS dataset
root@LUNA:/opt/test # zfs get setuid,exec DEPO_LUNA/data/test
NAME PROPERTY VALUE SOURCE...
I want to know how to do the same as I can do on Linux:
exec &> >(tee -a "$log_file")
The above command is found from http://unix.stackexchange.com/questions/145651/using-exec-and-tee-to-redirect-logs-to-stdout-and-a-log-file-in-the-same-time, but it does not work on FreeBSD 10.3
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.