厭世的IT Infra記事本wiki
網路搜集自己需要運用到的東西 筆記
參考網頁
(移至...)
不自量力 の Weithenn
HKITBLOG
太難的我不會
▼
2018年9月13日 星期四
user加wheel 群組後 無法sudo問題
usermod -G wheel user
user已加入user wheel grooup後
is not in the sudoers file. This incident will be reported.
vim /etc/sudoers
## Allows people in group wheel to run all commands
%wheel ALL=(ALL) ALL <===去#
Defaults log_host,logfile=/var/log/sudo.log<==加這行記錄始用user sudo的log
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言