From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: RE: Some users locked out of ssh and sftp?
Date: Fri, 11 Mar 2005 16:15:17 -0800 [thread overview]
Message-ID: <5.1.0.14.1.20050311152407.01f6ecc0@celine> (raw)
In-Reply-To: <00be01c5268d$8e50a060$4f0aa8c0@lanadmin>
Yeah, Eve, details help a lot. My memory of your earlier postings on this
is a bit hazy, so I may be dragging you through something you've already
tried. If so, I'm sorry. But based on the fresh info, I have a couple of
suggestions, provided below.
At 05:56 PM 3/11/2005 -0500, Eve Atley wrote:
>Ok, let me see if I can narrow the problem down a bit. Using the GUI panel,
>I first create a user and password combination - let's use jean / password1.
>This autocreates a user home directory (jean) and gives them a bash shell
>(in this case).
>
>Then, via terminal, I 'useradd jean'. Following this, I 'smbpasswd -a jean'
>and enter the password as prompted (twice). I return to the GUI and uncheck
>all account expiration, just in case. I then set the user up with access to
>the groups she should be permitted to (via the GUI).
>
>Now, I'm set up this way (eve), as is user Keyur (keyur) and Gagan (gagan).
>I just set up Jean (jean) this way. Gagan and I can log in; neither of us
>have a .ssh file located anywhere that we know of, for ourselves.
See the end of the message on this bit.
>Keyur and
>Jean cannot, they are prompted for a session password. Gagan and I never are
>prompted for such.
OK. Now though you call it a "session" password, this is just the same
password that the user has already entered in as "password1" (from below).
Right?
As you've described the test, it sounds like a different client-side host
(Windows workstation) is uniquely associated with each userid. So you want
to figure out if the problem is associated with a subset of userids or with
a subset of hosts. See if you can, from a workstation that logs in eve
without a password request, log in as jean without getting a follow-on
password prompt. If yes, the problem is with client configuration, not
server configuration or account creation.
I just downloaded Winscp3 and tested it out. (Nice app, BTW ... nicer
interface than the putty scp app I've occasionally used.) What I found is ...
... if I enter the correct password in the password box, then it
logs me on without any fuss.
... if I enter the wrong password in the password box, then it
prompts me for a password (probably what you call the "session" password).
So the first thing to do is verify that the passwords entered into the
Winscp3 "Session" dialog is correct, not mistyped. Windows users sometimes
forget, for example, that Unix-style passwords are case-sensitive ... since
so much on Windows systems is not case sensitive.
Second, still in Winscp3, check in Advanced Options->Authentication and
make sure "Attempt keyboard-active authentication" and "Respond with
password to the first prompt" are both checked.
Third, still in Winscp3, check in SSH to make sure SSH2 is the only, or at
least the preferred, connection method.
Furth, check for any other differences in Winscp3 setup. I didn't see any
other promising candidates when I looked at the app, but you never know (at
least not when you've used the app only for 10 minutes, as I have).
Last, I've assumed we are in all cases talking about connecting to the same
server. You certainly seem to be saying that. But if I've misunderstood
you ... might there be differences in the sshd implementations between
servers that do and do not prompt for the password? This could be an SSH1
versus SSH2 issue, for example.
>We log in using Winscp3. Locally, as an example, we put in address
>192.168.10.x, port 22, username: jean, password: password1. For most of us
>(I give only 3 examples here), the login is successful. No session password
>needed.
>
> > (BTW, what do you mean by "network" username/password? Does this host
>
>We have it set up so that once the user is logged into his computer with
>his/her user/pass combo, then accessing the network via samba uses the same
>credentials. Therefore, user/pass combo is same on Windows logon as well as
>Samba.
>
> > (Also, you say "most others" can log in. Is this just caution in
> > reporting, or do you have other reports of unexplained failures?)
>
>See above.
>
> >Check the permissions on his/her ~/.ssh directory. If the permissions
>somehow
>
>Again, I see no .ssh directory, at least not for /home/keyur, /home/gagan,
>/home/jean or /home/eve.
To see directories that begin with a . character (other than . and ..), you
have to use the -a flag with ls. But on my systems, these directories only
hold host keys for systems the account connects to (not from), so you may
not have them (I don't know, since I don't use user keys to authenticate,
and I don''t recall where sshd puts them, though the man page seems to say
they go in $HOME/.ssh/authorized_keys).
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2005-03-12 0:15 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-01 5:50 Sype wont't open Peter H.
2005-03-01 6:21 ` Ray Olszewski
2005-03-01 7:10 ` Richard Adams
2005-03-01 7:13 ` Skype " Peter
2005-03-01 16:22 ` Some users locked out of ssh and sftp? Eve Emshoff
2005-03-01 16:59 ` Ray Olszewski
2005-03-02 1:26 ` Eric Bambach
2005-03-11 19:20 ` Thought I was mounting drive correctly, but backup failed Eve Atley
2005-03-11 21:37 ` Ray Olszewski
2005-03-11 22:35 ` Eve Atley
2005-03-11 22:54 ` Ray Olszewski
2005-03-11 23:49 ` Eve Atley
2005-03-11 22:56 ` Some users locked out of ssh and sftp? Eve Atley
2005-03-11 23:27 ` SOTL
2005-03-13 23:44 ` SOTL
2005-03-12 0:15 ` Ray Olszewski [this message]
2005-03-14 19:17 ` Eve Atley
2005-03-14 19:45 ` Ray Olszewski
2005-03-14 21:54 ` Eve Atley
2005-03-15 0:01 ` SOLVED: " Eve Atley
2005-03-15 0:06 ` Ray Olszewski
2005-03-15 16:16 ` Eve Atley
2005-03-14 19:20 ` Eve Atley
2005-03-12 1:06 ` Marcus Furlong
2005-03-01 6:58 ` Sype wont't open Richard Adams
2005-03-01 8:17 ` Skype " Peter
2005-03-02 2:07 ` Peter
2005-03-02 3:00 ` Ray Olszewski
2005-03-02 5:53 ` Peter
2005-03-02 6:51 ` Richard Adams
2005-03-02 7:33 ` Peter
2005-03-03 6:34 ` Richard Adams
2005-03-03 9:56 ` Peter
2005-03-03 11:25 ` chuck gelm
2005-03-03 16:37 ` Richard Adams
2005-03-01 9:46 ` Sype " chuck gelm
2005-03-01 14:18 ` Richard Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20050311152407.01f6ecc0@celine \
--to=ray@comarre.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox