I create a login who execute a shell script in tne connexion (in .profile) and the session is killed (kill -9 0)
I want the login don't execute ^C when the shell is executing
What can i do ?
If I understand you correctly, you want to prevent users from using Ctrl-C to break out of a script. The /etc/profile (on Tru64 UNIX) is run for every user and has an example of using the trap command. For further information see the man pages (eg man ksh) or re-post here for some examples.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.