바뀜

이동: 둘러보기, 검색

Sudo

170 바이트 추가됨, 2020년 10월 16일 (금) 03:51
편집 요약 없음
설정파일 위치: /etc/sudoers
$ su
$ nano /etc/sudoers에러: == 에러등 =='''is not in the sudoers file. This 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>
 
 
<s>/[[sbin]]/usermod</s>
<s>$ usermod -aG sudo 유저명</s>
편집
2,440

둘러보기 메뉴