ディレクトリ所有者として検査

次のディレクトリの所有者として、ディレクトリを検査できます。

root:for VOLUME in /Volumes/*; do sudo -u \#`stat -f %u "$VOLUME"` '/Applications/ESET Cyber Security.app/Contents/MacOS/esets_scan' -f /tmp/scan_log "$VOLUME"; done

また、現在のログインユーザーとして、 /tmp フォルダーを検査することもできます。

root:sudo -u \#`stat -f %u /dev/console` '/Applications/ESET Cyber Security.app/Contents/MacOS/esets_scan' /tmp