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 password . The update or Upgrade of Amazon ec2 is a big problem . Now I can access but I can gain user root

Any ideas how to solve that

link|improve this question
What AMI are you using. Amazon does not provide their own Ubuntu images if I remember. – PHGamer Aug 30 '11 at 19:06
feedback

1 Answer

If this is an EBS device, you can mount it on another machine and modify the /etc/shadow file.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.