Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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:

http://www.cyberciti.biz/tips/openssh-deny-or-restrict-access-to-users-and-groups.html

share|improve this answer

Your Answer

 
discard

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.