Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Newly created user can't ssh in but others can?
Date: Fri, 17 Nov 2006 21:10:57
Message-Id: 1163797442.12501.113.camel@camille.espersunited.com
In Reply to: [gentoo-user] Newly created user can't ssh in but others can? by Daevid Vincent
1 On Fri, 2006-11-17 at 12:02 -0800, Daevid Vincent wrote:
2 > I have had my server for several years, I haven't added a new user in
3 > probably 6 months or more. I tried to add one last night and all seemed
4 > fine. However it can't login via ssh (not at a console, so I don't know
5 > about that way) but existing accounts can.
6 >
7 > I've tried changing the passwd to 'foo' (just something simple) and I keep
8 > getting the "Password:" prompt over and over. But if I ssh in to say, my
9 > account, it works fine.
10 >
11 > Ideas?
12 >
13 > /home looks like:
14 >
15 > drwxr-xr-x 4 joe users 4096 Nov 17 11:42 joe
16 > drwx--x--x 29 daevid users 4096 Nov 17 02:08 daevid
17 >
18 > daevid home # passwd joe
19 > New UNIX password: 'foo'
20 > BAD PASSWORD: it is WAY too short
21 > Retype new UNIX password: 'foo'
22 > passwd: password updated successfully
23 >
24 > daevid home # ssh joe@localhost
25 > Password: 'foo'
26 > Password: 'foo'
27 > ...
28 >
29 > daevid home # ssh daevid@localhost
30 > Password: 'secret'
31 > Last login: Fri Nov 17 11:46:06 2006 from daevid.com
32 > daevid@daevid ~ $
33 >
34 >
35 > ÐÆ5ÏÐ
36 >
37
38 Just a guess, but is your new user listed in AllowUsers in sshd
39 configuration?
40
41 --
42 gentoo-user@g.o mailing list

Replies

Subject Author
RE: [gentoo-user] Newly created user can't ssh in but others can? [SOLVED] Daevid Vincent <daevid@××××××.com>