주 메뉴 열기

wwiki β

Sudo

Jhkim (토론 | 기여)님의 2023년 6월 18일 (일) 05:42 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

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