"Sudo"의 두 판 사이의 차이

wwiki
이동: 둘러보기, 검색
5번째 줄: 5번째 줄:
 
유저명 ALL=(ALL:ALL) ALL
 
유저명 ALL=(ALL:ALL) ALL
 
</syntaxhighlight>
 
</syntaxhighlight>
/[[sbin]]/usermod  
+
<s>/[[sbin]]/usermod</s>
  $ usermod -aG sudo 유저명
+
  <s>$ usermod -aG sudo 유저명</s>

2020년 9월 9일 (수) 03:28 판

$ su
$ nano /etc/sudoers

에러: is not in the sudoers file. This incident will be reported.

%sudo   ALL=(ALL:ALL) ALL
유저명 ALL=(ALL:ALL) ALL

/sbin/usermod

$ usermod -aG sudo 유저명