From Bruce.Reardon@comalco.riotinto.com.au Tue, 05 Jun 2001 23:32:12 -0700
From: "Reardon, Bruce (CALBBAY)" <Bruce.Reardon@comalco.riotinto.com.au>
Date: Tue, 05 Jun 2001 23:32:12 -0700
Subject: RE: limit number of sessions from an OSUSER or a machine?
Message-ID: <F001.0031D6B0.20010605231551@fatcity.com>
MIME-Version: 1.0
Content-Type: text/plain


Perhaps 2 could be accomplished by a database after login trigger that uses
raise_application_error if the count of sessions from the machine is too
high.

This will depend on what version of Oracle you are on.

Bruce

-----Original Message-----
Sent: Wednesday, 6 June 2001 4:05 
To: Multiple recipients of list ORACLE-L


On Tuesday 05 June 2001 15:18, Guang Mei wrote:

> 1. Is there any way to limit how many sessions from a particular OSUSER?
If
> yes, how?

use CREATE PROFILE, and assign the profile to the user(s).  This is 
per database user, not OS user.

>
> 2. Is there a way to limit how many sessions from a particular machine
> (which uses db link to access out oracle db)? If yes, how?

Sorry, have no idea about this one.

Jared

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Reardon, Bruce (CALBBAY)
  INET: Bruce.Reardon@comalco.riotinto.com.au

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


