When the user logs in, the .profile runs a shell script that displays a menu. If the Quit option is selected, I want the user to be logged completely out of AIX. The following, which I'm now using, exits to the O/S. The user must then manually type "exit" to log completely out of AIX.
[Qq ] ) exit 0;; # user types "Q" or "q" from the displayed menu
* ) ;;
I don't want the user to have access to an OS command line prompt at all. Anyone know how I can log the user out from inside the script?