"Sudo"의 두 판 사이의 차이
4번째 줄: | 4번째 줄: | ||
%sudo ALL=(ALL:ALL) ALL | %sudo ALL=(ALL:ALL) ALL | ||
유저명 ALL=(ALL:ALL) ALL | 유저명 ALL=(ALL:ALL) ALL | ||
− | </syntaxhighlight> | + | </syntaxhighlight>usermod |
$ usermod -aG sudo 유저명 | $ usermod -aG sudo 유저명 |
2020년 9월 6일 (일) 03:07 판
$ su $ nano /etc/sudoers
에러: is not in the sudoers file. This incident will be reported.
%sudo ALL=(ALL:ALL) ALL
유저명 ALL=(ALL:ALL) ALL
usermod
$ usermod -aG sudo 유저명