![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Desktop Environments Support for your Ubuntu desktop. Including Gnome, KDE and XFCE. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 | |
|
First Cup of Ubuntu
![]() Join Date: Jul 2006
Beans: 10
|
sudo: must be setuid root
I'm unable to perform any sudo operations because of this error message
Quote:
|
|
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() |
Re: sudo: must be setuid root
Yeah - I did the same thing... did you figure/find a way to fix it? (other than reinstalling....)
|
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2006
Beans: 33
|
Re: sudo: must be setuid root
If the problem is just that you chowned /usr, try rebooting with the Ubuntu Live CD. Open a terminal and do the following...
sudo mkdir /mnt/ubuntu sudo mount /dev/hda1 /mnt/ubuntu sudo chown -r root /mnt/ubuntu/usr sudo umount /mnt/ubuntu I'm assuming your install is on /dev/hda1. If it's not, you'll have to change that part to match your setup. But you should be able to do all the maintenance you need from the Live CD. If the problem is not only that you chowned /usr, I can't guarantee this will work. |
|
|
|
|
|
#4 |
|
Tall Cafè Ubuntu
![]() |
Re: sudo: must be setuid root
I went into the recovery console (reboot, and chose recovery console in case you didn't catch on to how to do that), and typed
ls -l usr/bin/sudo and the readout looked fine, like this Code:
-rwsr-xr-x 1 root root 93844 2006-05-17 08:41 /usr/bin/sudo so I put chwon root:root /usr/bin/sudo then chmod 4755 /usr/bin/sudo then I typed reboot and I now have sudo again.
__________________
Al Gore didn't invent the Internet, but he did make up global warming. -David Rockefeller, March 08, 2009 |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2006
Beans: 89
|
Thank you so much. I had struggled with this for days and did finally reinstall. This will save me 4 hours if I am ever dumb enough to chown usr again.
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() |
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2006
Location: Castell Nedd, Wales, UK
Beans: 2
Xubuntu 6.06 Dapper
|
Re: sudo: must be setuid root
Thanks for the advice, it work for me to.
Shame I let my chmod run from / without noticing it .. I now have another message up after I try SUDO Sudo: /etc/sudoers is mode 0777, should be 0440 I also have a nice message at login about $HOME... A nice evening ahead ...... Thanks |
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() |
Re: sudo: must be setuid root
|
|
|
|
|
|
#9 | |
|
First Cup of Ubuntu
![]() Join Date: Nov 2007
Beans: 9
|
Re: sudo: must be setuid root
Quote:
Worked for me.....the second time. The first time I just typed in exit and I guess it didnt save changes. Thanks BLTicklemonster |
|
|
|
|
|
|
#10 | |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2007
Location: San Francisco, CA 94112
Beans: 19
|
Re: sudo: must be setuid root
Thanks! It worked for me.
Quote:
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|