Solved

Connect to Oracle database

Posted on 2015-02-23
2
417 Views
Last Modified: 2015-03-04
Hi,

I am using sqlplus user/pass to connect to DB.
Is there a way to hide the username/password and connect to db and perform actions like wallet ?

Please share few other options on it.

Thanks
0
Comment
Question by:magento
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Assisted Solution

by:Mark Bullock
Mark Bullock earned 250 total points
ID: 40627379
You can use Oracle Wallet Manager on your client.
Launch it with the command owm.

Here's a tutorial which walks you through the entire process.
http://askdba.org/weblog/2009/09/using-oracle-wallet-to-execute-shell-scriptcron-without-hard-coded-oracle-database-password/

Details on how to configure it are here:
http://docs.oracle.com/cd/B28359_01/network.111/b28530/asowalet.htm#i1009041
0
 
LVL 35

Accepted Solution

by:
johnsone earned 250 total points
ID: 40627908
What are you trying to hide them from?  Are you just looking to get them off the command line so they cannot be seen with a ps command (for instance)?

Hiding them on the command line is pretty simple.  Just don't enter them.  SQL*Plus will prompt for then, or you can use  /NOLOG as a parameter and it will not prompt.  If you use /NOLOG, just use the connect command to connect.

You can also use OS authentication.  Where no username and password is supplied.  It is passed through from the host OS.  Again, good for hiding the command line, but if a client machine is compromised, the database can be accessed.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question