I accidentally ran this command chmod -R 755 /usr/bin
on my remote server [Ubuntu 12.04.3 LTS], and I don't have the root password.
When I run sudo it gives me sudo: must be setuid root, This is the /bin folder permissions
drwsr-xr-x 2 deployer root 40960 juil. 23 11:54 bin
SSH connexion is the only access I have to my remote server.
ls -al /bin/chmod
? Is it +s as well?ls -al
/bin/chmod-rwxr-xr-x 1 root root 51760 nov. 19 2012 /bin/chmod
ls -al /usr/bin/sudo
? The directory properties you currently have are not that interesting.ls -al /usr/bin/sudo
-rwxrwxr-x 2 deployer root 71288 févr. 27 2013 /usr/bin/sudo
chmod -R 755 /usr/bin
. Without root password, and without option to boot into recovery console or boot from USB, I say your system is screwed.