Re: verifying a username AND password...?

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

 



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@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux