Sudo

wwiki
이동: 둘러보기, 검색

설정파일 위치: /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 유저명