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

Thorsten Kukuk <[email protected]> Sat, 1 Oct 2016 17:49:54 +0200
Newsgroups gmane.linux.pam
Message-ID <[email protected]>
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=F6rffer, Jane Smithard, Graham Norton, HRB 21284 (AG N=FCrn=
berg)