본문 바로가기

UNIX/etc

[Linux Error] SUDO user is not in the sudoers file. This incident will be reported

sudo 명령 사용 시 다음과 같은 에러에 직면할 수 있다.

user is not in the sudoers file. This
 incident will be reported.
 
/etc/sudoers 파일에 다음을 추가한다.

Code:
# User privilege specification
root	ALL=(ALL) ALL
unclec  ALL=(ALL) ALL   

 xxx ALL=(ALL) ALL


참조:  
http://devday.tistory.com/entry/xxx-is-not-in-the-sudoers-file-This-incident-will-be-reported