Where does pam get credential information?

Where does pam get credential information?

I am learning how to write a application program which use pam to do authentication. I checked the Linux documents and some example codes, now I have a basic understanding about the pam APIs and pam configuration in etcpam.d. But I have a question is where pam get the credential information to do authentication. E.g.: If the application send the pam request with username abc and password XXXXX. How does pam check the credential information to determine whether authenticate or not If abc is not a valid user for my application, but I want to add it as a valid user, how should I do to make pam authenticatin succeed

Комментарии

Популярные сообщения из этого блога

Как преобразовать вертикальную запись в горизонтальную?

Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository … doesn't support architecture 'i386'

How to delete a folder in remote Windows from Linux