Hoe to get uid,gid through PAM

preet $ preet3039 at gmail.com
Thu Aug 18 15:27:22 UTC 2011


Thanks for your reply.

Preet
On Thu, Aug 18, 2011 at 1:38 AM, Thorsten Kukuk <kukuk at suse.de> wrote:

>  On Wed, Aug 17, preet $ wrote:
>
> > Hello,
> >
> >       How do I get the user credentials such as uid, eid, and gid defined
> in
> > various authentication mechanisms such as LDAP etc through PAM. Please
> > provide some info on that.
>
> You will not. PAM does only authenticate an user for you,
> nothing more. What you mean is getpwnam() and similar functions
> handled by NSS modules.
>
> --
> Thorsten Kukuk, Project Manager/Release Manager SLES
> SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
>
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20110818/8581ad3e/attachment.htm>


More information about the Pam-list mailing list