I have an Ubuntu 12.04 server on which I've locked my only account, logged out, and now I cannot log in .
jiechao@ubuntu-Jiechao:~$ sudo passwd -l jiechao
passwd: password expiry information changed.
jiechao@ubuntu-Jiechao:~$ logout
Connection to 192.168.1.76 closed.
Now I cannot log in, as this is the only account on the server. How do I restore login access to this server?
!!
for jiechao from the/etc/shadow
file.