Author Topic: Installing on Amazon AWS Instance  (Read 11511 times)

0 Members and 1 Guest are viewing this topic.

Installing on Amazon AWS Instance
« 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?

Re: Installing on Amazon AWS Instance
« Reply #1 on: October 06, 2014, 02:05:39 AM »
check this info

if that will not work then contact support so we can check that for you
AntiDDoS Protection (web + mail)

Join our Development Team and get paid !

Services Monitoring & RBL Monitoring

Do you need Fast and FREE Support included for your CWP linux server?
Installation Instructions
Get Fast Support Here

Re: Installing on Amazon AWS Instance
« Reply #2 on: October 06, 2014, 06:01:20 AM »
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`
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.