0
votes
0answers
40 views

EC2 instance with partitions for /boot as ext4 and root / as lvm possible?

I've been playing about with this for a few days now. I haven't managed to find an example of someone running an EC2 instance with the root volume partitioned to have /boot on ext4 (or 3 or 2) and ...
1
vote
2answers
1k views

SUDO YUM not found

I am running a Amazon ec2 instance on amazon's linux. Whenever I run anything sudo yum it give me this: sudo: yum: command not found ec2-user$ rpm -qf /usr/bin/yum yum-3.2.29-30.24.amzn1.noarch ...
4
votes
1answer
281 views

How to shutdown from a script without being root?

I've got an amazon EC2 instance, which starts up, runs a script, and when the script finishes, I want to shut it down. I tried chmod g+s to give super user privileges on a .sh script which called ...
1
vote
1answer
225 views

Why does WinSCP connect to /root and nothing else, through OpenSSH?

We set up an Amazon EC2 instance and managed to WinSCP into it by setting up WinSSHD on the server. As WinSSHD is commercial, we were looking for a free alternative and opted to try OpenSSH, which I ...
-1
votes
1answer
47 views

Amazon EC2 fault after upgrade lose root access

ufff I upgrade my instance with amazon ec2 . I login again with my keypair and OK I am there User ubuntu Now I make sudo su or sudo -i and now the system ask password . What password I not setup any ...
1
vote
4answers
113 views

How to re-gain access to a running EC2 instance?

We own an AWS account but we're no longer in contact with the developer who had sole access to the running EC2 instance. Restarting the instance may not be possible: As far as we understand, shutting ...
0
votes
1answer
222 views

Locked out of EC2 ubuntu instance

root access worked on my EC2 instance for a couple of weeks until I did sudo aptitude update sudo aptitude upgrade and now sudo asks for a password (which I have never been given). I can't ...
1
vote
3answers
4k views

Root access amazon ec2

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 ...
0
votes
1answer
48 views

Site down after root drive expanion on EC2

Hey there I have expanded the root drive of an EC2 windows instance machine. Now after re-attaching the drive and firing up the instance, i cannot RDP into the instance as the site is down which as ...