Φ 首页 > > fedora 7 中也用sudo 命令
没有评论

fedora 7 中也用sudo 命令

Ω 发表评论 ♀ 2007年6月30日

1,将当前用户加入sudoer组中,以根用户运行

echo 'your_user_name ALL=(ALL) ALL' >> /etc/sudoers

其中your_user_name为要加入sudoer中的用户名

或是直接编辑/etc/sudoers

~su -
#visudo

用法跟vi 一样

在最后一段添加

your_user_name ALL=(ALL) ALL

♂ 分类: ♂ Tags: , , ♂ 1,104 Views
本文目前尚无任何评论 .

发表评论

:?: :razz: :sad: :!: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: :smile: :evil: