RE: pam handle sharing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for responding...

The reason I need this is because I want each application to assume the identity of the user who logged in.

You see, I am in an embedded system. Login will call PAM for authentication (authentication is remote...thus, the PAM module). Then, login will kick off another application and go away. The next application will need to refresh the credentials of the current user...because their rights dynamically change in the remote system while the current user is still logged in and using this application. When these rights change in the remote system, and the application calls refresh creds, I do not want to re-authenticate to the remote system. I simply want to refresh dreds with the first PAM handle that Login used and I authenticated with. As you can see, this application will not have the PAM handle that Login had to authenticate.

Also, I need a way for the module to remain static in memory.

Thanks for the help.

Drue

-----Original Message-----
From: m96 [mailto:m96@gmx.li]
Sent: Friday, April 05, 2002 3:28 PM
To: pam-list@redhat.com
Subject: RE: pam handle sharing


hi,

> Thanks for the info but, isn't this for sharing information between modules? 

right.

> What I want to do is share a a pam handle between pam aware applications...like login, telnet, etc.

why that? every program can ask the same questions to the same pam
module and if you want to share the informations between the prog just
use ipc (interprocess communication, like pipes, shared memory, etc.).

sorry but i can't understand for what you need that.

regards,
m96.

> 
> Drue
> 
> -----Original Message-----
> From: m96 [mailto:m96@gmx.li]
> Sent: Friday, April 05, 2002 1:47 PM
> To: pam-list@redhat.com
> Subject: Re: pam handle sharing
> 
> 
> hi,
> 
> guess not but look at pam_set_data() and pam_get_data() at
> http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam_modules-2.html#ss2.1
> 
> cheers,
> m96.
> 
> On Fri, 2002-04-05 at 18:55, Reeves, Drue wrote:
> > Hello.
> > 
> > Is it possbile for two PAM applications to share a PAM handle?
> > 
> > thank you,
> > 
> > Drue
> > 
> > 
> > 
> > _______________________________________________
> > 
> > Pam-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/pam-list
> > 
> 
> 
> 
> 
> _______________________________________________
> 
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list
> 
> 
> 
> _______________________________________________
> 
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list
> 




_______________________________________________

Pam-list@redhat.com
https://listman.redhat.com/mailman/listinfo/pam-list





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux