설정파일 위치: /etc/sudoers
is not in the sudoers file. This incident will be reported.
%sudo ALL=(ALL:ALL) ALL
유저명 ALL=(ALL:ALL) ALL
sudo: no tty present and no askpass program specified
유저명 ALL=(ALL) NOPASSWD: ALL
혹은 유저를 sudo 그룹에 추가한다.(ubuntu에서 확인함)
$ usermod --append --groups sudo 유저명