I was reading about passwordless authentication with ssh. So I made a key and published it to my Ubuntu server, and it worked well.
Then decided to lock my password with
passwd -l lucas, and I was not longer able to use sudo. I was thinking that sudo would also be without a password.
My question now is: how can I regain the ability to use sudo?