On Tue, May 19, 2015 at 4:01 AM, Wang Jian <larkwang at gmail.com> wrote: > PAM is mostly for tty usage. For tty applications, it's easy to show > prompt verbatim. > > For VPN GUI, whether suitable to send prompt verbatim is depending. > Look at pam.c of ocserv, [...] > It seems that this can be improved. Things can always be improved. What do you mean particularly in that case?