Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: owner = r00t

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    owner = r00t


    My vps hosted by godaddy was hacked and effectively disabled. I was able to hack back by editing the /etc/passwd file using sudo -u \#0vi /etc/passwd to restore the user "root" and copied many of the files I need to recover the web server except the mysql tables. I get a password error when trying to execute the mysql dump commands. The command and result are:
    $ ls -al /usr/bin/sudo
    -rwsr-xr-x 1 nosvps nosvps 123832 Dec 6 17:36 /usr/bin/sudo
    $ chown root:root /usr/bin/sudo
    chown: changing ownership of `/usr/bin/sudo': Operation not permitted
    $ cd /usr/bin
    $ chown root:root sudo
    chown: changing ownership of `sudo': Operation not permitted
    $ sudo chown root:root sudo
    sudo: effective uid is not 0, is sudo installed setuid root?

    The owner of /usr is the admin user that I used to ssh to the server rather than root and i am unable to chown root:root for /bin or other root level directories. Any help is appreciated.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    13,959
    Have you contacted GoDaddy about this? They are the front line of security for these systems.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3

    r00t

    Quote Originally Posted by Rubberman View Post
    Have you contacted GoDaddy about this? They are the front line of security for these systems.
    Yes. Not much help at all.

  4. $spacer_open
    $spacer_close
  5. #4
    what you describe in your op sounds extremely messy.
    can't you just start over?
    ...and be more careful in the future.
    How to ask smart questions | Don't be a Help Vampire
    You can post a link by removing "http://www." from it!

Posting Permissions

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