Solution: When Prompting password again, Press Ctrl+Alt+F1, /usr/bin/sudo vi /etc/profile, delete the additional ant path(reference to how to install Ant blog), save.
Solve Couldn't login in, each will prompt inputing password and usename, after that, prompt again.
On ubuntu 12.04.02, the scenario is above:Solution: When Prompting password again, Press Ctrl+Alt+F1, /usr/bin/sudo vi /etc/profile, delete the additional ant path(reference to how to install Ant b