While looking at existing projects may work well for you, may I also humbly point you to "The Definitive Guide to Linux Network Programming" by Davis, Turner and myself (Yocom), ISBN 1590593227, published by Apress and available from Amazon and other book sellers. Despite the title, Included in this text is an entire section on creating a PAM aware application to do just the kind of thing you want to do - including the creation of the conversation function and how to provide a username and password in a promptless manner to PAM. Thank you, Nathan Yocom On Wed, 8 Sep 2004 11:04:18 +0530, Utkal Ranjan <utkal75@xxxxxxxxxxx> wrote: > > Friends > > I'm new to Linux/Qt. I'm developing an GUI application using Qt 3.0. I want PAM authentication from my GUI application. I've tested the sample program that comes with the documentation of PAM and it works fine; prompting me for the password and authenticating me. > > But I want to use the GUI, a Qt from having two fields User Name & Password. When the user will click on the LOGIN button, the user should be authenticated using the PAM module. > > How can I implement that ???? > Thanx a lot for your help..... > > _______________________________________________ > > Pam-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/pam-list > > > _______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list