On Wed, Sep 13, 2000 at 04:36:03PM +0400, Alex V . Melnikov wrote: > Hello, people! > I have read pam-modules development documentation > and understood next, if i want to communicate with > user, i should use some pam interface, isn't it? > But standard C function, like printf and scanf, > works too. You should use the PAM interface. Remember, the user interface you are communicating with may not be a text console. It is just as likely to be a GUI, or non-interactive, and your normal output can be missed completely, or trash the interface. Ben -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com ' `---=========------=======-------------=-=-----=-===-======-------=--=---'