HPUX conversation problem

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

 



Hi,

On HP-UX 11.00, how can I display
multi-line error messages with my
conversation function?

Some error messages have two lines,
so when I do:

if (m->msg_style == PAM_ERROR_MSG)
	fputs(m->msg, stderr);

I only get the first line of the
message, for instance:

Password must contain at least two alphabetic characters and

as opposed to:

Password must contain at least two alphabetic characters and
at least one numeric or special character.


Also I want to know why the
"Changing password for %s" message
is of type PAM_ERROR_MSG and not
PAM_TEXT_INFO?

This means that my conversation function
displays it on stderr and not stdout.

Thanks in advance,
Allen.



_______________________________________________

Pam-list@xxxxxxxxxx
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