Hello,
I am writing a simple AIX korn shell script. The script executes when the user logs on to the system, preventing them from shell access. The script is in their /etc/passwd entry.
Here's the problem:
The script is a menu for operations to check out the server and application. One of the menu options will provide shell access with a password. Once they go through my simple password authentication process the line of code that follows is:
/usr/bin/ksh
which breaks out of the menu and provides shell access.
When you type exit in the shell, it closes the window and does not return to the menu. When I do a ps from the shell prompt the script is still runnning.
Any suggestions how I can get back to my menu?
Thanks!
-Denis
I am writing a simple AIX korn shell script. The script executes when the user logs on to the system, preventing them from shell access. The script is in their /etc/passwd entry.
Here's the problem:
The script is a menu for operations to check out the server and application. One of the menu options will provide shell access with a password. Once they go through my simple password authentication process the line of code that follows is:
/usr/bin/ksh
which breaks out of the menu and provides shell access.
When you type exit in the shell, it closes the window and does not return to the menu. When I do a ps from the shell prompt the script is still runnning.
Any suggestions how I can get back to my menu?
Thanks!
-Denis