글
[How To] Solution for sudo: must be setuid root problem
우분투
2011. 10. 2. 15:48
http://sathyasays.com/2008/10/10/how-to-solution-for-sudo-must-be-setuid-root-problem/
had encountered this problem on sudo/gksu not working few months earlier.
Whenever I had to open an application with gksu it did not open at all ! I was wondering what did i do. I dint know whether i meddled with something or is it any other configuration that created the problem.
If I type sudo in terminal i get “sudo: must be setuid root”
This is how I went about fixing it:-
- Open terminal and enter as root i.e. type ‘su’ and then the root password (Please be careful while being the root). Alternatively, you can also use ur OS’s live CD to mount the root partition (the partition where you have installed your OS)
- Next, type
chmod 4755 /usr/bin/sudo
If the command perfectly happens then as far I am able to tell sudo and gksu should work correctly.
그러나, 답변중에는
chmod 4111 /usr/bin/sudo 만으로도 충분하다는 답변이 있다.
'우분투' 카테고리의 다른 글
웹브라우저에서 디렉토리 리스트가 보일때 index 를 없애려면, Robot.txt 작성법 (1) | 2011.11.04 |
---|---|
vi vim 으로 source code과 navigation을 해 보자. close tag까지 - grep (0) | 2011.10.18 |
포트번호로 아파치 가상 호스트 설정하기 Virtual hosting과 동작하지 않을 때 (2) | 2011.10.01 |
우분투 Default shell 바꾸기 bash (0) | 2011.10.01 |
우분투에서 NPM -> nodejs -> socket.io 순으로 설치하기. (웹채팅) (0) | 2011.09.26 |