How disable Ctrl+C to shell from telnet
Posted on 1998-07-09
I wrote a Visual Fox Pro application to automate the expiration of Solaris passwords
from Win95 clients. Our users don't know unix, so I call the telnet executable with a
servername, and control the process from shell commands in the user's ".profile".
However, one security weakness, is that users can press "Ctrl+C" and get to the shell
prompt once they get pass the initial login prompt of telnet even though the script
controls all shell commands called.
How can I disable the Ctrl+C from within the script?
Thanks in advance for your help!