Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|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
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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