Can not delete, Edit or change permission of /home/userdata
Hi
I had issues with my vps server, I think someone tried to hack into it and unfortunately he did this with my main reseller account that rans the other accounts on the server.
I managed to login and changed the password immediately however he had managed to change the account username and domain of that specific account.
I am trying to delete completely that account and recreate a new one using the same username so i can restore my backup but I am getting operation failed error when i attempt to delete/ rename or even change the permission which is currently at 0000 on /home/userdata.
When I try to terminate through list accounts or modify accounts in whm i get user does not exist error.
Please anyone who can advice me on how to go about it ?
-
Can you please share the exact error you get, screenshot would be much helpful to assist you further. 0 -
You have to login to the server as root via SSH and set the correct permissions on /home/username (chmod 0644 /home/username). If thats fails with operation not permittion error that most probably immutable flag is set there which you can remove with "chattr -i /home/username" command then you will be able to fix the permissions and remove the account. 0
Please sign in to leave a comment.
Comments
2 comments