在root 账号下,通过su执行普通账号权限脚本。 具体参数如下: /bin/su --shell=/bin/bash -c "/path/check_chukwaagent.sh" hadoop 相关文章: