이개외않되/Linux / / 2023. 6. 1. 22:13

is not in the sudoers file. This incident will be reported.

728x90

ncal 기능을 사용하고싶어서
apt 패키지 매니저를 통해 sudo apt-get install -y bsdmainutils 시도했으나
sudo 권한이 없음.

"is not in the sudoers file. This incident will be reported."
"sudoers 파일에 없습니다. 이 사건은 보고될 것입니다."

 

권한이 없는거같답.

 

 

----해결방법----

 

su root

passwd 입력

adduser {user} sudo  -> 나는 seop 답

chmod 0440 /etc/sudoers  ->권한주기

exit   -> 빠져나오기

 

reboot   -> 재부팅

 

 

sudo su

passwd 입력

apt update    -> 정상적으로 실행

 

 

 

 

빠져와서도 실행해봄

 

 

잘댐

해결

  • 네이버 블로그 공유
  • 네이버 밴드 공유
  • 페이스북 공유
  • 카카오스토리 공유