2010年3月4日

摘要: 对应配置文件:/etc/sudoers在root下使用 visudo命令 或者 sudoedit命令 对此文件进行编辑。在此配置文件中添加如下内容## Allow root to run any commands anywhereroot ALL=(ALL) ALLmamhALL=(ALL) NOPASSWD:ALL将mamh用户添加为具有可以使用sudo执行,NOPASSWD表示使用sudo的... 阅读全文

posted @ 2010-03-04 09:45 名号M 阅读(365) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3