ALT Linux users (in English only)
 help / color / mirror / Atom feed
From: Daniel Rocher <daniel.rocher@adella.org>
To: community-en@lists.altlinux.org
Cc: Motsyo Gennadi aka Drool <motsyo@gmail.com>
Subject: Re: [Comm-en] PAM with ALT Linux
Date: Fri, 9 Nov 2007 21:21:30 +0100
Message-ID: <200711092121.38626.daniel.rocher@adella.org> (raw)
In-Reply-To: <4734B008.2080401@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1250 bytes --]

Le vendredi 9 novembre 2007, Alexander Bokovoy a écrit :
>Daniel, you'd probably need to supply an ALTLinux-customized PAM config 
>for your application made along these lines. Better, use the following 
>(not tested):
> #%PAM-1.0
> auth     include        system-auth
> auth     required       pam_listfile.so
> file=/etc/qtsmbstatusd/qtsmbstatusd.users onerr=fail sense=allow item=user
> account  include        system-auth
> password include        system-auth
> session  include        system-auth

It's work perfectly !

I have changed /etc/pam.d/qtsmbstatusd by your config and I have tested:
- a bad login /bad password
- a good login /bad password
- a good login /good password
- a good login/null password

all ok  :-)


>It relies on the fact that we have system-wide 'system-auth' PAM config 
>which does common magic (like system-auth-local above).

I understand. Perhaps directly in ALT Linux rpm packages (by  Drool).

Thank you very much.

-- 

____________________________________________

   Daniel Rocher
   @ mail :  daniel.rocher@adella.org
   Jabber :  daniel.rocher@jabber.org
   web :     http://rocher.daniel.free.fr
   GPG ID :  0x19E0980E
____________________________________________

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-11-09 20:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09 13:56 Daniel Rocher
2007-11-09 17:23 ` Dmitry V. Levin
2007-11-09 19:07   ` Alexander Bokovoy
2007-11-09 20:21     ` Daniel Rocher [this message]
2007-11-09 21:04       ` Michael Shigorin
2007-11-09 21:30         ` [Comm-en] Help Unsubbing Rachel Ramey
2007-11-09 22:01         ` [Comm-en] PAM with ALT Linux Daniel Rocher
2007-11-09 19:58   ` Daniel Rocher

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=200711092121.38626.daniel.rocher@adella.org \
    --to=daniel.rocher@adella.org \
    --cc=community-en@lists.altlinux.org \
    --cc=motsyo@gmail.com \
    /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

ALT Linux users (in English only)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community-en/0 community-en/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community-en community-en/ http://lore.altlinux.org/community-en \
		community-en@lists.altlinux.org community-en@lists.altlinux.ru community-en@lists.altlinux.com
	public-inbox-index community-en

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community-en


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git