2

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?

2 Answers 2

2

passwd -u username

Maybe the user is locked.

1
  • That was it, thanks! Unfortunately, my Linux administration knowledge is rather limited.
    – user27451
    Feb 9, 2010 at 10:10
0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .