I have installed pam_script.so
into my /lib/security/
folder and created a simple curses application at /etc/security/onsessionopen
which executes whenever I attempt to login.
The script is executed, this much I know, but the terminal is not altered to show the curses application and instead it just logs out.
How can I force the ncurses application to show?