-
Hi,
Does any one know, if I can fibd Password for Database Links. Like all the user's passwords are in DBA_USERS.
Is there any Dictionary Table that stores the passwords for Database Links.
Thanks
Certified Oracle DBA...
-
CREATE PUBLIC DATABASE LINK remote_connect
CONNECT TO user_id IDENTIFIED BY password
USING 'connect string';
This tells that SQL net opens a session on the database and trys to validate the user_id with the password submitted.
The passowrd stored in the database is the password that is checked and validated.
sonofsita
http://www.ordba.net
-
1. Export your db links to a dmp file using EXP.
2. Use a text editor to open that dmp.
You will see passwords CLEARLY in that dmp file. If you realize this, you probably limit the use of the db links of exp from your server.
-
select * from sys.link$ where user_id = XXX;
-
Originally posted by Shestakov
select * from sys.link$ where user_id = XXX;
It is userid, not user_id!
-
Originally posted by dba_admin
1. Export your db links to a dmp file using EXP.
2. Use a text editor to open that dmp.
You will see passwords CLEARLY in that dmp file. If you realize this, you probably limit the use of the db links of exp from your server.
I think DB links are exported only after full export. Do you know of a way to export only db links?
-
the easiest way to get passwords for database links is to query sys.links$.
No need to export at all.
-
Originally posted by julian
Originally posted by Shestakov
select * from sys.link$ where user_id = XXX;
It is userid, not user_id!
I'm sorry it's just typo.
-
Is the links$ only from oracle8+?
-
Sorry I added an s, it's sys.link$ not sys.links$.
It is available in 7.3.4 as well 8.x.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|