centos添加sudoers

CentOS添加sudoers
1.chmod 740 /etc/sudoers
2. ## Allow root to run any commands anywhere
    root    ALL=(ALL)       ALL
    oracle  ALL=(ALL)       ALL
    aaa     ALL=(ALL)       ALL
3.chmod 440 /etc/sudoers

posted on 2014-04-10 00:08  sangbiao  阅读(565)  评论(0编辑  收藏  举报