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:-

  1. 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)
  2. 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 만으로도 충분하다는 답변이 있다.

설정

트랙백

댓글