From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-ME-UUID: 20071109202135937.E4C417000082@mwinf2319.orange.fr From: Daniel Rocher To: community-en@lists.altlinux.org Date: Fri, 9 Nov 2007 21:21:30 +0100 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <200711091456.03162.daniel.rocher@adella.org> <20071109172301.GA31932@basalt.office.altlinux.org> <4734B008.2080401@altlinux.org> In-Reply-To: <4734B008.2080401@altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4126127.nLxHXmsmGY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711092121.38626.daniel.rocher@adella.org> Cc: Motsyo Gennadi aka Drool Subject: Re: [Comm-en] PAM with ALT Linux X-BeenThere: community-en@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: daniel.rocher@adella.org, "ALT Linux users \(in English only\)" List-Id: "ALT Linux users \(in English only\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 20:21:36 -0000 Archived-At: List-Archive: --nextPart4126127.nLxHXmsmGY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Le vendredi 9 novembre 2007, Alexander Bokovoy a =E9crit : >Daniel, you'd probably need to supply an ALTLinux-customized PAM config=20 >for your application made along these lines. Better, use the following=20 >(not tested): > #%PAM-1.0 > auth =A0 =A0 include =A0 =A0 =A0 =A0system-auth > auth =A0 =A0 required =A0 =A0 =A0 pam_listfile.so > file=3D/etc/qtsmbstatusd/qtsmbstatusd.users onerr=3Dfail sense=3Dallow it= em=3Duser > account =A0include =A0 =A0 =A0 =A0system-auth > password include =A0 =A0 =A0 =A0system-auth > session =A0include =A0 =A0 =A0 =A0system-auth It's work perfectly ! I have changed /etc/pam.d/qtsmbstatusd by your config and I have tested: =2D a bad login /bad password =2D a good login /bad password =2D a good login /good password =2D a good login/null password all ok :-) >It relies on the fact that we have system-wide 'system-auth' PAM config=20 >which does common magic (like system-auth-local above). I understand. Perhaps directly in ALT Linux rpm packages (by Drool). Thank you very much. =2D-=20 ____________________________________________ Daniel Rocher @ mail : daniel.rocher@adella.org Jabber : daniel.rocher@jabber.org web : http://rocher.daniel.free.fr GPG ID : 0x19E0980E ____________________________________________ --nextPart4126127.nLxHXmsmGY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHNMFSRbaN0BngmA4RAqMIAJ4m1GciI4lonCfl4BhnQUFZ8L0yfgCgqoGt sDyeIkLRKR5YEOb2OiFLoyM= =MIdI -----END PGP SIGNATURE----- --nextPart4126127.nLxHXmsmGY--