看板 Linux 關於我們 聯絡資訊
在我的工具書中 它是以fc9在做解說 但是用#visudo指令後 裡面的內容有些許不同(我的系統是debian 5) 以下是d5的內容 # /etc/sudoers …… # User privilege specification root ALL=(ALL) ALL # Uncomment to allow members of group sudo to not need a password # (Note that later entries override this, so you might need to move # it further down) # %sudo ALL=NOPASSWD: ALL -------------------------------------------- 在fc9是將下文字的#去掉 ##Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL 可是在上述的內容中找不到相同的 我想是不是將最後一個的#去掉就可以達到相同的效果呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.61.237.115
dreamroyc:我是習慣增加一行{帳號} ALL=(ALL) ALL 09/04 19:24
dreamroyc:然後再重新開起終端機 09/04 19:24
Adama:fc9那段是指使用群組來指定sudo權限的吧 09/04 19:40
reirobert:是在root下面加那一行對吧!? 09/04 23:55