Results 1 to 2 of 2

Thread: Restore the sudoers, "sudo chmod 777 -R /.*" fatal command

Hybrid View

  1. #1
    Join Date
    Oct 2011

    Angry Restore the sudoers, "sudo chmod 777 -R /.*" fatal command


    I know, I'm crazy, I wrote the command

    sudo chmod 777 -R /*.*

    in my ubuntu server, its a fatal command

    Now my etc/sudoers file and etc/sudoers.d folder are blocking any operation on my server, even I'm not able to connect by FTP or SSH to the server. I was able to change the permissions of the sudoers to the 0440 but even now it is still not fixed. Now Im not able to logging remotely to the server, but Im going to have access to the physic machine next days, but any way I don't know what to try..
    I will be really thankful if someone can help me, or give some ideas what to do, otherwise I will have to format, and even Im not able to copy the files to backup the information needed

    best regards!

  2. #2
    Join Date
    Jun 2006
    Ubuntu 15.04 Vivid Vervet

    Re: Restore the sudoers, "sudo chmod 777 -R /.*" fatal command

    Duplicate here:

    Thread closed.
    Ubuntu 15.04 Desktop Guide - Ubuntu 14.04 Desktop Guide - Forum Guide to BBCode - IRC #ubuntuforums

    Member: Not Canonical Team

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts