[Ubuntu] '*** is not in the sudoers file' 오류 발생 시 처리
앎/linux 2014. 2. 18. 01:16 |<username> is not in the sudoers file. This incident will be reported
sudo 명령을 이용할 때 나타나는 문구이다.
/etc/sudoers 파일을 수정하여 해결한다.
<username> ALL=(ALL) ALL
다른 방법으로는
1 | #> echo 'USERNAME ALL=(ALL) ALL' >> /etc/sudoers |
모든 명령을 패스워드 입력 없이 사용하도록 허락하는 방법은 다음과 같다.
1 | #> echo 'USERNAME ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers |
'앎 > linux' 카테고리의 다른 글
[Ubuntu] Set static address (0) | 2017.05.28 |
---|---|
[Ubuntu] SSH (0) | 2017.05.28 |
[Common] Change password (0) | 2017.05.28 |
[Ubuntu] 저장소를 다음카카오로 변경 (0) | 2017.05.28 |
[Ubuntu] '/etc/profile' 과 '/home/계정/.profile' 차이 (0) | 2014.02.18 |