Hey guys, I am very new to linux, and amazon-ec2. I wanted to put a quick server.
For some reason, when I sign in with my key pair, it prompts me for a username, I input ec2-user, and I'm in.
The problem is that I don't have root access (and can't find the root password).
I need to install screen to run the server in the background, and also create a new user, that doesn't have root, to run the server. Neither of which I can do without root..
Any help?
Edit:
I am using Basic 32-bit Amazon Linux AMI 2010.11.1 Beta as the 'AMI'.
Thanks,
Max
Best Answer
The Amazon Linux AMI User Guide explains that you can use sudo to run commands as root e.g.
sudo whoami
:http://ec2-downloads.s3.amazonaws.com/AmazonLinuxAMIUserGuide.pdf