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