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 |
I've got it! The user account must be in the shadow group, which under the process is running.
Cheers, Eddy |
All times are GMT -5. The time now is 07:05 PM. |