Accidentally wiped /root - now firewall is wonky
Hi everyone,
In an act of blind idiocy I accidentally ran rm -rf *.* while in the /root folder.
I didn't think it would cause any major damage, but my firewall (CSF) suddenly started blocking all kinds of traffic on the server (including simple things like insecure FTP and outbound MySQL connections).
1) Any ideas how I fix this, or restore defaults?
2) Is there anything else in that folder I should try and restore?
Thanks!
-
I can't think of anything in /root itself that would be tied to CSF. You can perhaps try reinstalling CSF though and see if that fixes the issue. There isn't really anything critical in /root, however, the absence of the folder would prevent you from logging in. Also run a cPanel update, because cPanel stores certain data files in there, and an upcp should replace them. 0 -
Hello :) You may also want to compare the /root directory of a similar server to yours so you can determine which files you need to replace. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments