mkfifo /tmp/fifo$$ sudo dd if=/tmp/fifo$$ of=$logFile & pid=$! exec >/tmp/fifo$$ 2>&1 ... run whatever commands you like as the regular user here ... rm ...
確定! 回上一頁