• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Wordpress Edition (AWS) accounts

Geoff

New Pleskian
Hi,

I may seem like a daft question. I am 100% new to AWS and images etc. However, I expected that once the image was create I would have full root access, not a user account called 'centos'. Is there a default Root account password? I need to create additional accounts with elevated privileges and I feel a little stuck.

Am I being thick? :)

Thanks in advance!
 
Due to security restrictions on AWS instances, the command sudo is used for obtaining root privileges.
The password for the user root is not set by default.
 
^ what Igor said.

AWS EC2 doesn't have root user enabled by default, but you can enable it.

To do so;

- Connect to user via ssh
- Gain root with sudo command
- Set root password with passwd command OR apply public key to authorized_keys
- Modify /etc/ssh/sshd_config and set PermitRootLogin yes, as well as allow PasswordAuthentication if needed
- Reload ssh service
 
Back
Top