Link to home
Start Free TrialLog in
Avatar of alexandros_noob
alexandros_noobFlag for Greece

asked on

FTP access in VPS with apache/centos at root account

Hello! I have a VPS with centos, apache and WHM. I want to access at cpanel config files. That i have to do from FTP account, with username root and root's password. But, when i try to access with that info, i receive an error. Here in the info...

Status:      Connecting to 208.53.183.97 ...
Status:      Connected with 208.53.183.97. Waiting for welcome message...
Response:      220---------- Welcome to Pure-FTPd [TLS] ----------
Response:      220-You are user number 1 of 50 allowed.
Response:      220-Local time is now 19:31. Server port: 21.
Response:      220-This is a private system - No anonymous login
Response:      220-IPv6 connections are also welcome on this server.
Response:      220 You will be disconnected after 15 minutes of inactivity.
Command:      USER root
Response:      331 User root OK. Password required
Command:      PASS ***************
Response:      530 Login authentication failed
Error:      Unable to connect!


The password is the same, as that I connect to WHM (with username root).
Avatar of Michael Worsham
Michael Worsham
Flag of United States of America image

Most FTP server daemons reject 'root' as a login name. You will need to check to see if your provider has configured the Pure-FTP daemon to accept or reject 'root' user ids.
ASKER CERTIFIED SOLUTION
Avatar of Michael Worsham
Michael Worsham
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alexandros_noob

ASKER

Well, the server is unmanaged. How can I access to cpanel's configuration files? Is any other way? And how can I find the root username?
Does the account have secure shell (ssh) available? If FTP is preventing root login (usually controlled by /etc/ftpusers), you won't have a chance of actually accessing the server directly.