Control Web Panel
WebPanel => Installation => Topic started by: amburmj on October 06, 2014, 01:35:45 AM
-
I've installed the CentOS Web Panel on an Amazon AWS CentOS EC2 server. That being said, the standard user is "root" and it utilizes a private key pair, not a password for "root".
How can I set a password for root, exclusively for CentOS Web Panel, and/or setup with it's own administrative username and password?
-
check this info
http://forum.centos-webpanel.com/how-to/how-to-enable-root-access-on-microsoft-azure-cloud/
if that will not work then contact support so we can check that for you
http://centos-webpanel.com/contact
-
You are talking about login on SSH. By default, Amazon AMI do not allow root to being logued, also force you to use key pairs. This a HOT question for all AMI users and the first think i modify when test long time ago.
Remove old ec2-user keys:
`rm /home/ec2-user/.ssh/authorized_keys`
Now allow root login and login by password by editing file: /etc/ssh/sshd_config.
You have to search for that and set yes to both:
- PasswordAuthentication yes
- PermitRootLogin yes
Do not forget to:
`/etc/init.d/sshd restart` or `service sshd restart`
Also, set a default password for root using command: 'sudo passwd root`
-
Saw this post while searching for same problem, Thought I should share my solution
http://forum.centos-webpanel.com/index.php?topic=3114.0