Article 5RXP1 Someone has chmod 777 /etc on my virtual machine... can I repair without root?

Someone has chmod 777 /etc on my virtual machine... can I repair without root?

by
MikeyCarter
from LinuxQuestions.org on (#5RXP1)
So basically someone has run chmod 777 /etc which has knocked out ssh and sudo access.

I do have access via a non-root user. Any way I can at least run chmod 440 /etc/sudoers so I can at least get in and repair the damage. Don't have access to the console at the moment and tried messing with /etc/cron.d files but then noticed it's shutdown due to the permission problem too.

Any ideas?latest?d=yIl2AUoC8zA latest?i=eZNXk24lrDI:0jB1nLhEydE:F7zBnMy latest?i=eZNXk24lrDI:0jB1nLhEydE:V_sGLiP latest?d=qj6IDK7rITs latest?i=eZNXk24lrDI:0jB1nLhEydE:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments