[Comm-en] PAM with ALT Linux
daniel.rocher at adella.org
Fri Nov 9 23:21:30 MSK 2007
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
> 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.
@ mail : daniel.rocher at adella.org
Jabber : daniel.rocher at jabber.org
web : http://rocher.daniel.free.fr
GPG ID : 0x19E0980E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the community-en