Results 1 to 2 of 2

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

  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 22.04 Jammy Jellyfish

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

    Duplicate here:

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



    Thread closed.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

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
  •