주 메뉴 열기

wwiki β

바뀜

Sudo

469 바이트 추가됨, 2023년 6월 18일 (일) 05:42
편집 요약 없음
설정파일 위치: /etc/sudoers== 에러등 =='''is not in the sudoers file. $ suThis incident will be reported.'''<syntaxhighlight lang="ini">%sudo ALL=(ALL:ALL) ALL유저명 ALL=(ALL:ALL) ALL</syntaxhighlight>'''sudo: no tty present and no askpass program specified'''<syntaxhighlight lang="ini">유저명 ALL=(ALL) NOPASSWD: ALL</syntaxhighlight> 혹은 유저를 sudo 그룹에 추가한다.(ubuntu에서 확인함) $ nano /etc/sudoersusermod --append --groups sudo 유저명[[분류:명령어]]
편집
2,431