LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   SHELL Breakout! (https://www.linuxquestions.org/questions/linux-security-4/shell-breakout-28937/)

def1014 08-27-2002 08:29 PM

SHELL Breakout!
 
I want to write a scrip that will run for a specific user when they telnet into my machine. Is there any command I could set in their ./bash_profile or in the script to disable the Ctrl+C function? I don't want them to be able to break out into the shell. Thank You LQ. :confused:

unSpawn 08-27-2002 09:06 PM

CTRL+C is just the key mapping, the thing you want to look at is the signal. Either typing "trap -l" or one of the man pages from the "kill" family should get you going.


All times are GMT -5. The time now is 11:05 AM.