PAM_AUTHENTICATE fails when password is empty.

This is a discussion on PAM_AUTHENTICATE fails when password is empty. within the Linux Security forums, part of the System Security and Security Related category; Hi there, I have a problem regarding PAM. I wrote a function to change a user-password. That function checks ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-01-2004
Philipp S?dmeyer
 
Posts: n/a
Default PAM_AUTHENTICATE fails when password is empty.

Hi there,

I have a problem regarding PAM.
I wrote a function to change a user-password. That function checks the
current password by using "pam_authenticate" and it works very well so
far. But if a user has no password set and wants to do it now,
pam_authenticate fails and so my function fails. Pam_authenticate
seems to work only if the authenticating user has a password - but
why?
So I need an alternative to pam_authenticate or a possibility to
check, whether the password is NULL or not.

Thanks for your support!

Phil
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:42 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0