xtine wrote:
I go in to bash history of root and the only other system account (me) to see if someone logged in and deleted the files... nope
If someone attacks your server, the first thing he does is to redirect the HISTFILE to /dev/null so you won't find anything in the history file...
xtine wrote:
To be more specific, I do not have regular FTP, but it is sftp and that one user is locked down. It was WP version 2.7,
It is an old version, after that there was 2.7.1 and now 2.8.
If you try to google for "wordpress 2.7 vulnerability" you can see that it is really recommended to upgrade!
xtine wrote:
and owned by www-data, so that could be the reason. But if the WP is owned by a user, how do I get it to be writable by the server?
You can use
suphp: it is
"a tool for executing PHP scripts with the permissions of their owners".