On November 20, 2009 08:03:32 am concepts wrote:
> Well now the problem HAS been solved.
> 
> 
> "Sunday, June 22, 2008
> sudo: must be setuid root solved in Ubuntu
> Go to recovery console (reboot, and chose recovery console in case you
>  didn't catch on to how to do that),
> 
> fire following commands .
> 
> 
> Code:
> 
> chown root:root /usr/bin/sudo
> chmod 4755 /usr/bin/sudo
> 
> and reboot the machine by
> 
> Code:
> 
> shutdown -r now  
> 
> 
> 
> In case if you are getting a "Sudo: /etc/sudoers is mode 0777, should be
>  0440" message on startup then
> 
> go to recovery console and fire following command
> 
> Code:
> 
> chmod 0440 /etc/sudoers
> 
> 
> -Mihir Patel "
> 
> So it appears that the ending "shutdown -r now" is essential for some
> esoteric, if not meta-physical reason. I had done as everyone had suggested
> SEVERAL TIMES but to no avail as I've stated before. But being somewhat
> persistant and decided to re-install if necessary, I tried it one last
>  time. It worked...
> 
> I'd like to thank each of those that had brought something to the final
> resolution of my problem.
> By the way, if anyone needs a tester quite good at getting into trouble, I
>  am available!
> 
> AndrĂ©. ☺
> 


I would take this oppotunity to check the /usr/bin and /bin directories. run:
ls -lG /usr/bin /bin | grep -v root

The output on my machine:
t...@desktron-kubuntu:/usr/bin$ ls -laG /usr/bin /bin | grep -v root
/bin:
total 5888

/usr/bin:
total 162088
-rwsr-sr-x  1 daemon   52112 2009-09-15 18:29 at

And on my home server:
t...@blackbox:~$ ls -laG /usr/bin /bin | grep -v root
/bin:
total 6920

/usr/bin:
total 103372
-rwsr-sr-x  1 daemon   46964 2009-09-15 09:09 at


So there is a single file which does not belong to the user root and it belongs 
to the user daemon..

If you want you can also check for most files defined in your $PATH variable:
echo $PATH | sed -e's/:/ /g' | xargs ls -laG | grep -v root

you should get an output similar to this:
t...@blackbox:~$ echo $PATH | sed -e's/:/ /g' | xargs ls -laG | grep -v root
/bin:
total 6920

/sbin:
total 9508

/usr/bin:
total 103372
-rwsr-sr-x  1 daemon   46964 2009-09-15 09:09 at

/usr/games:
total 28

/usr/local/bin:
total 8

/usr/local/sbin:
total 8

/usr/sbin:
total 29772
-rwsr-sr-x  1 libuuid   13848 2009-10-22 17:54 uuidd


David Montminy
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca

Reply via email to