"must be setuid root"- Hardy

Goh Lip g.lip at gmx.com
Wed Jul 29 20:19:53 UTC 2009

Michael Hirsch wrote:
> On Wed, Jul 29, 2009 at 4:43 AM, Goh Lip<g.lip at gmx.com> wrote:
>> 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
> Did you really mean that second command?  I don't know what "chown
> 4755 ..." would do, but probably not anything good.  Or was having it
> there just a typo.
> What permissions does sudo have now?  Mine looks like:
> $ ls -l /usr/bin/sudo
> -rwsr-xr-x 2 root root 115136 2009-02-16 20:22 /usr/bin/sudo
> Michael
Yes, Michael, you are right. Saw the ls -l print out for the Karmic 
partition and is same as your output.
My output from the Hardy WAS something like
-rwsr-xr-x 2 4755 115136 2009-02-16 20:22 /usr/bin/sudo

I am not sure about the above sequence but the '4755' was there.
(I had used the numerical representations '4755' of permissions I read 
somewhere to change ownership)
Redid again using
chown root:root /usr/bin/sudo
chmod u-s /usr/bin/sudo

to get back a similar output as my Karmic partition.
Sadly, it resulted in the same problem and Hardy remains inoperable.
I figured, perhaps wrongly, that Hardy may become 'incorrectible'
and I reinstalled Hardy. Took less than an hour to get back to the same 
condition as before the problem started, and made the following 
corrections at the Karmic fstab (after mkdir /mnt/Kde3, NOT media)
LABEL=Kde3 /mnt/Kde3 ext3 defaults 0 2

All is well.

Michael, while I may have got back my Hardy by reinstallation and all is 
  back where I wanted it to be, it will be instructive, at least to me, 
if  you have further thoughts about how the problem may be corrected.

I appreciate your feedback.

Goh Lip

More information about the kubuntu-users mailing list