Results 1 to 2 of 2

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

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Beans
    3

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

    Hi!

    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!
    Oscar

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

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

    Duplicate here:

    http://ubuntuforums.org/showthread.php?t=1853413



    Thread closed.

    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

Bookmarks

Posting Permissions

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