MrProgrammer
Programmer
Hi,
I'm using Sun Solaris 5.8 and i have created a user. I want this user automaticly begin with a menu program when logged in. And I want him automaticly logout when he exits the program with normal ways or even by pressing such Ctrl+C key combinations. To achieve the first objective (automatic startup of the program) i created a .profile file in the default directory of that user. And it works fine. Whenever he logs in, he finds himself in the program. But he can easly exit program and enter shell prompt. I don't want this happen.
I am waiting for your suggestions.
Thanks!
I'm using Sun Solaris 5.8 and i have created a user. I want this user automaticly begin with a menu program when logged in. And I want him automaticly logout when he exits the program with normal ways or even by pressing such Ctrl+C key combinations. To achieve the first objective (automatic startup of the program) i created a .profile file in the default directory of that user. And it works fine. Whenever he logs in, he finds himself in the program. But he can easly exit program and enter shell prompt. I don't want this happen.
I am waiting for your suggestions.
Thanks!