Run script upon login but no ctrl C
by packets from LinuxQuestions.org on (#6J342)
I created a bash script script and put it in .profile so it will run upon login. My issue is user can have shell if thy do Ctrl C. I forgot how I did it on the past wherein users will not have shell.
Anyone can advise how to do it?
Anyone can advise how to do it?