Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Someone deactivated remote logins for a user, and I want to reactivate it. I can su into it, though. However, I have no idea how to reactivate logins. I checked /etc/ssh/sshd_config, but there is no Allow Users section. I checked PAM, but couldn't find anything either.

Any ideas?

share|improve this question
up vote 2 down vote accepted

passwd -u username

Maybe the user is locked.

share|improve this answer
That was it, thanks! Unfortunately, my Linux administration knowledge is rather limited. – user27451 Feb 9 '10 at 10:10

Do you mean there is no AllowUsers directive currently in there b/c that looks like what you would want:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.