Linux中使用指定用户运行命令

682 查看

su username -c 'cmd'