Proper Way for a PAM Module to Add Groups to a User

Thorsten Kukuk kukuk at suse.de
Sat Oct 1 15:49:54 UTC 2016


Hi,

On Sat, Oct 01, Douglas Logan wrote:

> Hello,
>        I'm trying to create a PAM module. I've had no problem with the
> standard authentication portion and have that working based on some
> samples I was able to find.
> 
> However, I'm having a difficult time finding an example on how I'm
> supposed to add additional groups to a user during PAM login.

There is already a module which is doing this: pam_group.

  Thorsten

-- 
Thorsten Kukuk, Senior Architect SLES & Common Code Base
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)




More information about the Pam-list mailing list