Recently one of our servers was compromised. In performing a server audit, one of my guys noticed directories in /home that didn't quite seem right as they were not showing up in our WHM usernames.
Long story short, we did a rm -rf /home/virtfs
Upon deleting /home/virtfs the entire system would not accept any commands and we received the msg:
-bash: /bin/ls: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
--------------------------
We realize now (a bit to late) that we've essentialy deleted a big chunk of the OS.
We have easy access to the DC but before making matters worse, is there a detailed process of getting the box back.
Questions:
1. Can we restore the system while maintaining our users home directories and any datahbases?
2. Has anybody else pulled such a kuncklhead move? If so, how did you recover the box, users, whm settings, etc..etc?
Any detailed help and explanation on resolving would be GREATLY appreciated!
Long story short, we did a rm -rf /home/virtfs
Upon deleting /home/virtfs the entire system would not accept any commands and we received the msg:
-bash: /bin/ls: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
--------------------------
We realize now (a bit to late) that we've essentialy deleted a big chunk of the OS.
We have easy access to the DC but before making matters worse, is there a detailed process of getting the box back.
Questions:
1. Can we restore the system while maintaining our users home directories and any datahbases?
2. Has anybody else pulled such a kuncklhead move? If so, how did you recover the box, users, whm settings, etc..etc?
Any detailed help and explanation on resolving would be GREATLY appreciated!