Results 1 to 3 of 3
I was using sudo chmod -r /usr/* and it was supposed to have a folder specified after it, and it changed up the permissions on everything in the bin folder. ...
- 04-01-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 9
[SOLVED] Permissions Messed Up
I was using sudo chmod -r /usr/* and it was supposed to have a folder specified after it, and it changed up the permissions on everything in the bin folder. I got it back to normal enough to use the system, the only thing left is the sudo command and the su command. When I try sudo, it says:
and when I try su, it says:Code:jon-Tuxbox:~$ sudo sudo: must be setuid root
Can you help me fix these things? Also, when I try to install applications from Ubuntu Software Center, the authentication dialog briefly pops up and shakes left to right, then it disappears. It doesn't let me click it or hit enter.Code:jon-Tuxbox:~$ su Password: setgid: Operation not permitted
(Sorry, I know the username is supposed to have an [at] symbol instead of a hyphen, but the forum does not let me post the [at] symbol yet.)
- 04-01-2011 #2
Boot into recovery mode as described here.
Do
Ubuntu doesn't use su by default.Code:chown root:root /usr/bin/sudo chmod 4755 /usr/bin/sudo
- 04-02-2011 #3Just Joined!
- Join Date
- Jan 2011
- Posts
- 9
Thanks! It fixed it. And I use su for anything in which I will be using root for a long time. I already had it set it up, but just in case, i tried sudo passwd, and it didn't fix it either.





