Jump to content
XPEnology Community

Recovery mode in XPEnology?


Lazy775
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...