[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: verifying a username AND password...?



Your user should got authenticated when he connected to the host (got a
login/session). So, you could try to use an environement variable like
$USERNAME if you trust your login application, which uses pam, to have
really authenticated the user.

John Breen a écrit :

> I'm developing a GTK application and need to authorise the user at
> application startup.  I have a GTK window that gets both username and
> password.  All the code i've seen with linux-pam has pam deal with
> asking for the password, so how can I provide the password to PAM and
> have it authenticate the user given all the information at once rather
> than ask for anything?
>
> Regards,
>
> John Breen
>
> _______________________________________________
> Pam-list mailing list
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []