PDA

View Full Version : [ubuntu] ubuntu password after upgrading to 11.04 on EC2



yvsong
April 28th, 2011, 02:26 PM
I upgraded from 10.10 to 11.04 on Amazon EC2, and installed the new /etc/sudoers when given a choice of update. Now I can still log in the ubuntu account remotely with public key. However, when I try sudo, it asks for the password of user ubuntu, which should not exist. I cannot view /etc/sudoers now without root permission. How can I fix the problem? Thanks.