The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-04-2005
Balamurugan Balamurugan is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 7
Hi ,
You can use the crypt command in unix to do this.

ex.

Create a file which has the clear passwd (/tmp/testpw)
encrypt

crypt Key<clear_passwd.file > encrypt_file

crypt 123 < /tmp/testpw > /tmp/testcr

Now you can remove the clear passwd file .. But you should remeber the key.

You can connect to the oracle in the following way.

sqlplus "user_name/`crypt 123 < /tmp/testcr`"

SQL*Plus: Release 9.2.0.5.0 - Production on Fri Mar 4 08:32:25 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.


Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production

SQL>


Please check is this helps you.

Thanks and Regards

Bala