So I got logged into

Posted November 3, 2013 3k views
Got this message from CPanel in the morning. Root was logged into pam using following authentication service: system Now my cpanel is completely gone I cannot login to my server and I can't find anything. DigitalOcean does not provide accurate support such as what commands to enter. Cpanel cannot get access to remotely do it either. How can I enable it so that CPanel can get access and most of All I can get access.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers
"DigitalOcean does not provide accurate support such as what commands to enter."

D.O. actually does have several articles on security measures you can employ to keep your server from being hacked:

1.) Initial Server Setup with CentOS 6;

2.) How To Protect SSH with fail2ban on CentOS 6;

3.) How To Install DenyHosts on CentOS 6;

4.) How To Create SSH Keys with PuTTY to Connect to a VPS;

5.) How To Setup a Basic IP Tables Configuration on Centos 6.
by Etel Sverdlov
This tutorial covers how to login with root, how to change the root password, how to create a new user, how to give the new user root privileges, how to change the port, and how to disable root login in. This tutorial is written for Ubuntu. When you first create your server, this tutorial explains the first steps you need to take. This tutorial is made for CentOS.
Are you able to log into your droplet via the console in the DigitalOcean Control Panel?
It seems like your droplet was compromised, unfortunately.

If you have any snapshots/backups you can restore your droplet from a recent one.