sudo: must be setuid root

Qestion:

when i  try   to use sudo to lunch aan  application , i  get  this issue :  sudo: must be setuid root

[pirat9@Fedora15 Documents]$ sudo    yum   install  nikto
Output
sudo: must be setuid root

How to solve this ?

Answer:

Open terminal and enter as root

su -
or
su  - root

Next, type:


chmod 4755 /usr/bin/sudo

Now  you  will  able  to  able to sue sudo or gksu correctly

[pirat9@Fedora15 Documents]$ sudo    yum   install  nikto
[sudo] password for pirat9:
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nikto.noarch 1:2.1.4-2.fc15 will be installed
--> Processing Dependency: perl(LW2) for package: 1:nikto-2.1.4-2.fc15.noarch
--> Running transaction check
---> Package perl-libwhisker2.noarch 0:2.5-3.fc15 will be installed
--> Finished Dependency Resolution

Enjoy

 

.