Find the answer to your Linux question:
Results 1 to 6 of 6
Hello everyone, I am in need of help asap. I am completly new to Linux. Here is my problem. I logged in as root , I did this line: chmod ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    3

    chmod 740 on "/" -- root ?????


    Hello everyone,

    I am in need of help asap. I am completly new to Linux. Here is my problem. I logged in as root , I did this line:

    chmod -R 740 /



    It was literally changing the permissions for all file and directories, keep in mind I was using filezilla for this. After it went through them all I was disconnected from the server. It says "server unexpectedly closed network connection" when trying to log into the server via filezilla.

    My goal was to limit access to all config files for I will be creating users and dictating user account. The users access a SFTP server for sensitive docs.

    What did this command do that doesnt allow me to connect to the server?

    Was there maybe a service that will need restarted? if so what can I do to restart it?


    If anyone can help that would be greatly appreciated?

    -Tim

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    hi and welcome

    you killed this machine, but not its data.
    Recovering the System is far beyond what can be offered via a Forum.
    Call a on-site Admin, if you can.

    Data recovery is probably easiest via a Linux livecd.

    good luck
    You must always face the curtain with a bow.

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    FYI: I deleted your other two posts as duplicates
    You must always face the curtain with a bow.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Feb 2013
    Posts
    3
    Yeah, I figured someone was. I was just trying to increase the likelihood of an answer by multiple post, which some site obviously do not permit.. lol.

    Could you maybe elaborate on what you mean by killed the machine but not its data?

    -thanks

  6. #5
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    I am in a metal bar and on a Mobile phone, but anyway:
    Some services and daemons rely on permissions and refuse to work/cannot work with wrong ones.

    You changed the permissions of *All* Files of that machine.
    It didnt like it.

    A experienced sysadamin might be able to reinstall all packages and the permissions of the datafiles as well.
    But probably the fastest way is to recover the datafiles via a livecd and Start over.
    You must always face the curtain with a bow.

  7. #6
    Just Joined!
    Join Date
    Feb 2013
    Posts
    3
    Well I appreciate your replies.

    there were sensitive files that were put on that server like yesterday. What about those types of files. Im sorry im so new to linux. Im not sure how backup and restoring works. I was hoping you could do the old restore to an earlier time. I have to make users and allow them to see sensitive medical information while complying with hippa regulation.

    Thanks again.
    I play guitar, i love metal, so I understand that part lol.

Posting Permissions

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