Hello,
Is there some sort of magic (preferably works on linux too) way to find if a users password matched what is given? E.g.
I am trying to complete my clone of dtlogin (motif login manager) and this will really help
If not I might have to spend some time understanding PAM (perhaps look at /sbin/login's source)
Best Regards,
Is there some sort of magic (preferably works on linux too) way to find if a users password matched what is given? E.g.
Code:
if(authPassword("letmein") == true)
{
cout << "Correct" << endl;
}
else
{
cout << "Incorrect" << endl;
}
I am trying to complete my clone of dtlogin (motif login manager) and this will really help

If not I might have to spend some time understanding PAM (perhaps look at /sbin/login's source)
Best Regards,