user is not in the sudoers file. This incident will be reported.


user is not in the sudoers file. This incident will be reported.

~ is not in the sudoers file. This incident will be reported. 로그인한 계정에 sudo 권한이 없을때 나는 메시지 이다. 그렇다면! 권한을 줘보자~! 1. su 로 root계정으로 이동 2. vi /etc/sudoers 위에 파일에 계정이 들어가 있어야 한다. 3. 계정 ALL=(ALL) ALL 추가 파일을 아래로 내려가다 보면 root ALL=(ALL) ALL 이 있는데 root 계정에 수펴 권한을 준다는 뜻! 아래로 내려가 보면 %wheel ALL=(ALL) ALL 이 있는데 이 아래에 로그인한계정명 ALL=(ALL) ALL 을 추가하고 저장해준다. 저장 후 exit 입력 하여 root 계정에서 나온 후 확인해보면 성공!


원문링크 : user is not in the sudoers file. This incident will be reported.