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

689 查看

su username -c 'cmd'