+I have got an account su and ssh to server from IT department. First, I logon ssh with account ssh -> OK, then I switch to su with su account -> OK.
+I try to create another account by command: # useradd abc, then set pass for the account (example "12345") by command # passwd abc-> OK,
+I try ssh to server with account "abc", and when terminal window require password for ssh, I type pass "12345" -> FAIL.
I try to search google, but I cannot find the reason of the problem, please help me, thanks?
[SOLVED] Problem with login ssh
Re: Problem with login ssh
What shell is the new user assigned? It might be /bin/false which will not allow ssh logins.
-
- Posts: 3
- Joined: 2014/04/19 03:11:57
Re: Problem with login ssh
I tried your solution, but It still happened.Whoever wrote:What shell is the new user assigned? It might be /bin/false which will not allow ssh logins.
Re: Problem with login ssh
Check your /etc/ssh/sshd_config file for "AllowedUsers", "AllowedGroups" or their "Deny" counterparts.
-
- Posts: 3
- Joined: 2014/04/19 03:11:57
Re: Problem with login ssh
thanks it worked!drk wrote:Check your /etc/ssh/sshd_config file for "AllowedUsers", "AllowedGroups" or their "Deny" counterparts.