My gitolite installation start to ask for password suddendly, I checked the /var/log/secure
file and found this.
sshd[9071]: User git not allowed because account is locked
sshd[9072]: input_userauth_request: invalid user git
After a quick search i've read that the solution is
sudo passwd -u git
But this gaves this answer:
Unlocking password for user git.
passwd: Warning: unlocked password would be empty.
passwd: Unsafe operation (use -f to force)
I used -f to check and yes, it fixed the issue. But is there a security downside of doing this? I dont want this account to have a password, only use keys authentification.