Lazy775 Posted November 18, 2017 Share #1 Posted November 18, 2017 So I accidentally ran chmod 775 /usr/lib/* Yup, a fool. So now I get this error whenever I try to do anything that uses sudo : sudo: /usr/lib/sudoers.so must be only be writable by owner One of the solution is logging in by root and changing the permission, but I can't do that because I don't know how. What I've tried : sudo -i (Uses Sudo) su - and enter my password ('Operation Not Permitted') booting into linux and trying to mount the DSM drives - couldn't mount it I have the ADMIN account disabled due to security reasons. I'm ready to face reset, but it takes too long to clean up. Any ideas? Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted November 23, 2017 Share #2 Posted November 23, 2017 Enable the admin account then try sudo -i followed by the admin password. Considering the amount of files you changed permissions to I would highly recommend a fresh install. Troubleshooting the consequence of your action might be endless and counter productive. Specially when you don't seem very confortable with linux commands. Save yourself (and others) some time, reinstall. Quote Link to comment Share on other sites More sharing options...
aol Posted November 30, 2017 Share #3 Posted November 30, 2017 does sudo su work on Synology boxes? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.