Re: PAM not resolving pam_sm_setcred

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

 



I believe that effect depends on the specifc implementation and operating system combination. If I were you, I would rather fork(), and have the child exec() the program, calling the specifc script interpreter (such as "perl","/path/to/program","arg1","etc"), and then a waitpid(). Those functions should be available, but then again, I'm not sure, because it really does depend the most on the operating system.

Joe

Inger, Slav (S.B.) wrote:

Thanks for the pointer Joe, that solved it. I'm facing another issue, however - is system() a permissible call to make from within a PAM module? I need to invoke a shell script to look up some information about the user before making returning success or failure. I know the shell script runs fine, but the system() function doesn't seem to return, has anyone run into this as well? TIA.


-----Original Message----- From: Joe Lewis [mailto:joe@xxxxxxxxx] Sent: Friday, August 29, 2003 1:32 PM To: pam-list@xxxxxxxxxx Subject: Re: PAM not resolving pam_sm_setcred


You should still have the other functions defined, and return an ignore or success value, depending on the function itself. Every module should have the functions.



_______________________________________________

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




_______________________________________________

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

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

  Powered by Linux