Bad Password - #010#012#015#177INCORRECT : ssh -> pam -> libpam_sqlite -> sqlite3

Tim Broberg Tim.Broberg at servicenow.com
Thu Mar 6 07:12:20 EST 2014


I hope you can forgive the meta-comment, but that might just be the
highest signal to noise ratio post I've ever seen.

(Perhaps some noise was needed to restore balance.)
    - Tim.

On 3/5/14 11:06 AM, "Seth Ellsworth" <Seth.Ellsworth at software.dell.com>
wrote:

>A user consists of two parts: Identity and Authentication.
>
>/etc/passwd is Identity. The user's uid, home directory, etc.
>/etc/shadow is Authentication. Their password (hashed).
>
>PAM is Pluggable Authentication Module.
>It only handles Authentication.
>
>The user still has to have an Identity at the NSS layer.
>( NSS == Name Service Switch )
>
>ssh -> nss -> nsswitch.conf -> sqlite3
>Is there an nss module also configured for sqlite3?
>
>Seth Ellsworth
>
>
>-----Original Message-----
>From: openssh-unix-dev
>[mailto:openssh-unix-dev-bounces+seth.ellsworth=quest.com at mindrot.org] On
>Behalf Of Karl O. Pinc
>Sent: Wednesday, March 05, 2014 12:01 PM
>To: Sangeeth Saravanaraj
>Cc: openssh-unix-dev at mindrot.org
>Subject: Re: Bad Password - #010#012#015#177INCORRECT : ssh -> pam ->
>libpam_sqlite -> sqlite3
>
>On 03/05/2014 12:46:18 PM, Sangeeth Saravanaraj wrote:
>> I want to configure secure shell access to a Linux machine where
>> allowed
>> users are stored in an sqlite3 database and not in the /etc/passwd,
>> /etc/shadow and /etc/group. I use PAM for user authentication.
>
>I can't speak to the internals but have you set
>UsePAM Yes in sshd_config?
>
>
>
>Karl <kop at meme.com>
>Free Software:  "You don't pay back, you pay forward."
>                 -- Robert A. Heinlein
>_______________________________________________
>openssh-unix-dev mailing list
>openssh-unix-dev at mindrot.org
>https://urldefense.proofpoint.com/v1/url?u=https://lists.mindrot.org/mailm
>an/listinfo/openssh-unix-dev&k=vE6vJ%2F6us6MO2E%2BCdRJaLw%3D%3D%0A&r=CFOVY
>S%2Bpq34MoQdIh9mGy2v3juvm16uSvL2B2p9WKsQ%3D%0A&m=M1WP76oXGkI7kzNW5UjSw%2F4
>QZun2FxJY%2Bj2i3v%2FT8Tg%3D%0A&s=102c58d0c12ab23c4995a64e386bceb49dd6dabfb
>7dcee662f0fd8f189e03685
>_______________________________________________
>openssh-unix-dev mailing list
>openssh-unix-dev at mindrot.org
>https://urldefense.proofpoint.com/v1/url?u=https://lists.mindrot.org/mailm
>an/listinfo/openssh-unix-dev&k=vE6vJ%2F6us6MO2E%2BCdRJaLw%3D%3D%0A&r=CFOVY
>S%2Bpq34MoQdIh9mGy2v3juvm16uSvL2B2p9WKsQ%3D%0A&m=M1WP76oXGkI7kzNW5UjSw%2F4
>QZun2FxJY%2Bj2i3v%2FT8Tg%3D%0A&s=102c58d0c12ab23c4995a64e386bceb49dd6dabfb
>7dcee662f0fd8f189e03685



More information about the openssh-unix-dev mailing list