Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to Logout from OS(Sco Unix) through Sql*Menus(Oracle 7.1)

Re: How to Logout from OS(Sco Unix) through Sql*Menus(Oracle 7.1)

From: Jeremy Russell <jeremyr_at_dircon.co.uk>
Date: Sat, 12 Sep 1998 06:48:36 GMT
Message-ID: <35fa1922.4098887@news.dircon.co.uk>


Alternatively, add the line "exit" as the last line of the ".profile" in the users home directory.

JR

Peter A Fein <p-fein_at_uchicago.edu> wrote:

>nagparag_at_hotmail.com writes:
>
>>
>> Dear Friends,
>> 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.
>>
>> 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.
>
>The proper approach is to make Sql*Menus the user's shell. Add the
>full path to /etc/shells and make the change in /etc/passwd for each
>user. When they log in, they'll immediately be taken to this prog &
>will log out when they exit. You may want to wrap it in a shell
>script if you need to set environment variables.
>
>--
>Peter A Fein Summering in SF!
>Home: 650-571-6476 Work: 650-628-2172
>p-fein_at_uchicago.edu pfein_at_us.checkpoint.com
>Who's going to pay for this!?!
Received on Sat Sep 12 1998 - 01:48:36 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US