1829115 Members
14971 Online
109986 Solutions
New Discussion

sudo

 
SOLVED
Go to solution
Animesh Chakraborty
Honored Contributor

sudo

Hi,
I have installed sudo today for the first time.
Still not much familiar with this product.
When I was trying to use it ,it gives error

%sudo /usr/sbin/umount /unload/DATA
Sorry, sudo must be setuid root.
Any help?
Thanks
Animesh
Did you take a backup?
2 REPLIES 2
Steven Sim Kok Leong
Honored Contributor
Solution

Re: sudo

Hi,

Logon as root, then execute:

# chmod u+s `which sudo`

Hope this helps. Regards.

Steven Sim Kok Leong
Michael Tully
Honored Contributor

Re: sudo

Hi,

The sudo files should have the following permissions and ownerships.

HTH
-Michael

r--r----- 0/0 398 Jul 27 15:06 2001 /etc/sudoers
--x--x--x 0/0 102400 Jul 27 14:54 2001 /usr/local/sbin/visudo
r--r--r-- 0/0 16851 Jul 27 14:54 2001 /usr/local/man/man1m/sudo.1m
r--r--r-- 0/0 8801 Jul 27 14:54 2001 /usr/local/man/man1m/visudo.1m
--s--x--x 0/0 135168 Jul 27 14:54 2001 /usr/local/bin/sudo
Anyone for a Mutiny ?