linux 不使用root執行指令 william 4 years ago sudo -H -u otheruser bash -c 'command' Share this: Click to share on Facebook (Opens in new window) Facebook