Find the answer to your Linux question:
Results 1 to 7 of 7
i created one dir cat. own- root, grp- dba. someone hacked my root passwd and chacged settings. now i am getting the own of cat is 875 , grp - ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    9

    users

    i created one dir cat. own- root, grp- dba. someone hacked my root passwd and chacged settings. now i am getting the own of cat is 875 , grp - 1000. these 875,1000 does not exist in users and group.
    how can i get know the problem

  2. #2
    Linux User cheesecake42's Avatar
    Join Date
    Jan 2007
    Location
    Panama City, FL
    Posts
    364
    If this system is sensitive at all I would highly suggest doing a complete wipe and reinstalling from scratch. If your system has in fact been compromised and somebody gained root access to your box then there is no telling what else they have added/modified on the system.

    Sorry if that's not the answer you were looking for but it's just good practice in my opinion.

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Location
    Kolkata
    Posts
    3
    Hi,

    Can you just write the following command and see the output?

    cat /etc/passwd | egrep "875|1000"

    By doing this you will come to know that who owns that dir now.

    Please tell if it helps you in some way!!

  4. #4
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    Quote Originally Posted by cheesecake42 View Post
    If this system is sensitive at all I would highly suggest doing a complete wipe and reinstalling from scratch. If your system has in fact been compromised and somebody gained root access to your box then there is no telling what else they have added/modified on the system.

    Sorry if that's not the answer you were looking for but it's just good practice in my opinion.
    cheesecake42 is absolutely correct. You may want to disconnect it from net and investigate how did they get in but leaving it online or trying to "fix it" is out of question.

  5. #5
    Just Joined!
    Join Date
    Jul 2010
    Posts
    9
    i tried it but again it still showing same. but how is that posisible there are no userand group with 875& 1000.

  6. #6
    Linux User cheesecake42's Avatar
    Join Date
    Jan 2007
    Location
    Panama City, FL
    Posts
    364
    Whoever gained access to your system could have created a user and group with those uid/gid's, changed the permissions of that folder, and then deleted that user and group. If this was the case, then the file could still be stuck with those id's without a user/group associated with them.

  7. #7
    Just Joined!
    Join Date
    Jul 2010
    Posts
    9
    your suggestion is right but, i tried that root user can change a ownership of directory to any numeric/name which doesn't exist in users/group list

Posting Permissions

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