"must be setuid root"- Hardy

Goh Lip g.lip at gmx.com
Wed Jul 29 10:43:12 UTC 2009

Need your help again.

My hardy partition is now 'unoperative'. I can boot into hardy but any 
operations, like in terminal has this output 'must be setuid root'.
Keying in sudo or su brings out the same output. Cannot get into 
internet as knetwork is not activated and needs sudo to start it which 
it does not permit.

I suspect the following caused this problem.

In Karmic (which I can go into and does not pose any problem), I wanted 
to automatically mount the hardy partition, and for this I added the 
following line into fstab.(at Karmic)

/dev/sda8 /media/Kde3 ext3 
defaults,errors=remount-ro,users,user_xattr,user 0 0

In hindsight, I probably should use /mnt/Kde3 instead of /media/Kde3.

To try to rectify the problem, I booted into the (hardy) recovery (or 
single user) mode and at root prompt, did the following.

chown root:root /usr/bin/sudo
chown 4755 /usr/bin/sudo
chmod 4755 /usr/bin/sudo
shutdown -r now

Problem persists.

I am not good in chown, chmod, or even fstab (heh, heh, not good 
generally in linux), and the steps above is fished out googling.
Hope you guys can help out before I reinstall Hardy.

Thanks and regards,
Goh Lip

More information about the kubuntu-users mailing list