Thursday, February 28, 2013

How to set root password on Amazon EC2 instance

The default Amazon Linux EC2 instance does not allow root user login.
Use this first:
-sudo !!

or the traditional way
-sudo passwd root
and set the root password, then su - to get to root.

No comments: