HowTo allow a user to call PAM APIs
Hi,
I have written a code to call PAM APIs. The code works as long as I'm logged in as root ( I can authenticae a user with username and password). I want my process to run under a different user account and I want it to be able to call PAM_Authenticate. At this point it fails if I use any other account but root.
Any idea how to grant this right to a user or an application?
Thanks,
Eddy
|