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