Linux 下以其他用户身份运行程序—— su、sudo、runuser su - root -c "ls -l /root" https://www.cnblogs.com/bodhitree/p/6018369.html