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

685 查看

su username -c 'cmd'