Home » RDBMS Server » Server Administration » Find out current user and password
Find out current user and password [message #169589] Thu, 27 April 2006 12:17 Go to next message
karl_eisner
Messages: 8
Registered: April 2006
Junior Member
Hi to all!

i have a question. is it possible to find out the username and password of the user current logged on?
thanks in advance!

karl
Re: Find out current user and password [message #169592 is a reply to message #169589] Thu, 27 April 2006 12:20 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Password in clear text?
Nope. You cannot.
You can get current users in v$session (gv$sesion for RAC)
and get their hashed password from dba_users
Re: Find out current user and password [message #169600 is a reply to message #169592] Thu, 27 April 2006 12:58 Go to previous messageGo to next message
karl_eisner
Messages: 8
Registered: April 2006
Junior Member
hi!

then it isn't possibe to invoke a link out of oracle with the parameters user and password?

karl
Re: Find out current user and password [message #169640 is a reply to message #169589] Thu, 27 April 2006 20:03 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
yes, if you target database has a matching user/pass as your current login, then you can use:
CREATE DATABASE LINK hq CONNECT TO CURRENT_USER using 'hq';

Previous Topic: Log_archive_dest_n
Next Topic: Temporary tablespace
Goto Forum:
  


Current Time: Sun Jan 26 15:10:29 CST 2025