Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Miscellaneous > Re: allowing a ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 7 Topic 6877 of 7280
Post > Topic >>

Re: allowing a user to kill his own connections

by mh@[EMAIL PROTECTED] May 7, 2008 at 04:55 AM

Ana C. Dent <anacedent@[EMAIL PROTECTED]
> wrote:
> mh@[EMAIL PROTECTED]
 wrote in news:NsKTj.1754$ah4.1745@[EMAIL PROTECTED]
> 
> > I would like to allow developers to kill their own sessions, e.g.
> > 
> >     alter system kill session '$sid,$serial#'
> > 
> > but only for sessions which are theirs.
> > 
> > Is there a grant which can handle this?  If not, what's the
> > best way to handle this?
> > 
> 
> You can write a procedure owned by SYS which can issue the ALTER SYSTEM;
> using owner's rights not invoker's rights.

And if I want to make sure that you can't kill someone else's
session, that should be handled by comparing the current
user with the user of the $sid, is that right?

In other words, there's not an automatic owner****p/protection
mechanism a la unix processes and kill.

Thanks All!
Mark

-- 
Mark Harrison
Pixar Animation Studios
 




 7 Posts in Topic:
allowing a user to kill his own connections
mh@[EMAIL PROTECTED]   2008-05-05 20:53:01 
Re: allowing a user to kill his own connections
"Ana C. Dent" &  2008-05-06 03:00:22 
Re: allowing a user to kill his own connections
Mark D Powell <Mark.Po  2008-05-06 05:33:49 
Re: allowing a user to kill his own connections
mh@[EMAIL PROTECTED]   2008-05-07 04:55:25 
Re: allowing a user to kill his own connections
"fitzjarrell@[EMAIL   2008-05-07 05:30:03 
Re: allowing a user to kill his own connections
Mark D Powell <Mark.Po  2008-05-07 08:47:10 
Re: allowing a user to kill his own connections
"fitzjarrell@[EMAIL   2008-05-06 05:21:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 0:14:03 CST 2008.