Linux

sudo /etc/sudoers is mode 0644 should be 0440 sudo no valid sudoers sources found quitting

Naan 2013. 6. 20. 20:50
반응형

위와 같이 에러가 뜬다면

#sudo su chmod 0440 /etc/sudoers

그래도 안된다면

#ls -al /etc/sudoers

-rw-r--r-- 1 test root 3293 Jun 20 20:40 /etc/sudoers

왜인지 모르겠지만 계정이 변경되어 있다 이걸 root로 변경해주면 된다.

#chown -R root:root /etc/sudoers



반응형