Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to Logout from OS(Sco Unix) through Sql*Menus(Oracle 7.1)
In article <6tagbo$hcc$1_at_nnrp1.dejanews.com>, <nagparag_at_hotmail.com> wrote:
>
>I Have got Oracle 7.1 on Unix Platform with Sql*Menus loaded.
>In my menu I have got a option called as "EXIT"
>when I select this Option I should Logout from the System so that end user
>should not fiddle with OS files.
>While Logging in also it is been taken Care he/she will not able to get
>OS prompt.
The solution will depend on the login procedure. In fact the user shell should quit when (or even before) the last command, i.e. sql*menu, has finished, with no respect as how sql*menu finishes. Please tell us more about the current login procedure.
>I have tried with writing a Shell Script with just "exit" in it and try
>Executing that file from Sql*Menu option ,but this does'nt actually logout.
In this case a new shell is launched as a child proces of sql*menu. It will exit immediately and give control back to its parent sql*menu.
--
@..@ Marti Rijken <mrijken_at_prv.gelderland.nl> (`--') private mail: mrijken_at_natrix.demon.nl ( >__< ) URL: http://www.natrix.demon.nl/ Received on Fri Sep 11 1998 - 07:09:00 CDT