beatgammit / simple-pam

Basic PAM module and test application
MIT License
184 stars 66 forks source link

pam authenticate fails am I missing something ? #2

Open bkannadassan opened 6 years ago

bkannadassan commented 6 years ago

Hi,

I am planning to write a pam authentication and found your example. When I tried the same it isn;t working. Can you let me know if I am missing something ?.

[root@localhost simple-pam]# ./pam_test backdoor Credentials accepted. Not Authenticated [root@localhost simple-pam]#

rgds Balaji Kamal Kannadassan

rocky-sigetech commented 5 months ago

Hi,

I am planning to write a pam authentication and found your example. When I tried the same it isn;t working. Can you let me know if I am missing something ?.

[root@localhost simple-pam]# ./pam_test backdoor Credentials accepted. Not Authenticated [root@localhost simple-pam]#

rgds Balaji Kamal Kannadassan

did you change the username in the code instead of "backdoor"