pam_group and user matching

Thorsten Kukuk kukuk at suse.de
Fri Sep 28 11:18:35 UTC 2007


On Fri, Sep 28, Matthieu CASTET wrote:

> Hi,
> 
> 
> we are trying to use pam_group to add group to some users with PAM 0_99_7_1.
> 
> According to the documentation, if I want add the floppy group to the user "us",
> we need to add to group.conf :
> "xsh;tty*&!ttyp*;us;Al0000-2400;floppy".
> 
> But when we add this line all the "us*" user gets the floppy group.

I can reproduce that ...

> Is that the expected behavior ?

I don't think so.

> Is there a way to fix that ?

Yes, look at the code (that's the advantage of open source)
and submit a patch ;-)

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)




More information about the Pam-list mailing list