The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
.
google unix.com



UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to : Identify the the password is encrypted or not in /etc/shadow or /etc/passwd? avklinux UNIX for Dummies Questions & Answers 11 02-02-2009 09:46 PM
Interpreting the encrypted shadow password? keelba Linux 5 03-12-2008 09:13 PM
how can i send via SFTP information with my password encrypted? irasela SUN Solaris 1 01-26-2006 09:29 AM
Change password by pushing encrypted password to systems benq70 UNIX for Dummies Questions & Answers 1 09-02-2005 10:08 AM
netrc file encrypted password ggowrish UNIX for Advanced & Expert Users 2 06-17-2004 06:15 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-20-2009
nandumishra nandumishra is offline
Registered User
  
 

Join Date: Jul 2007
Location: Bangalore
Posts: 9
Accessing Oracle via encrypted password

Actually in my application there is an XML file. The password and the user name for the database that I need to access the development box is stored there.
But using some UNIX command I am able to access the raw content of the file and not the decrypted code for that password. When I am applying this content to access the database it is showing me the error.

content of the XML file
----------------------
<ODBC DB=somename>
<usr>MyName</usr>
<password encrypted=yes>xxxxxxxx</password>
</ODBC>

I want to go to the section that contains the database name and connect to that database using the user id and password mentioned there.

But as the password I find is in encrypted form and thus my shell script only generate me that encrypted raw string for the password and my connection fails.

Can anyone suggest me the way to read that encrypted password and use it in establishing the connection to the database?

Thanks and Regards
Nandu Mishra.
  #2 (permalink)  
Old 05-25-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,893
Provide more info, please: The Database systems, the shell script you are working with, any connecting libraries involved.
  #3 (permalink)  
Old 05-27-2009
nandumishra nandumishra is offline
Registered User
  
 

Join Date: Jul 2007
Location: Bangalore
Posts: 9
Accessing Encrypted content of the xml file

The data in the .xml file is being encrypted using the "blowfish" encryption of the "OpenSSL".

I want to access it in the UNIX shell script as :-

sqlplus -s <user_id>/<decrypted_password_from_.xml_file>@<some_script> << <MARKER>
do the things here
do the things here
do the things here
do the things here
<MARKER>

I do not know how to use it to get the decrypted password.
  #4 (permalink)  
Old 05-27-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,893
That's fine. What database are you working with? Ok, sqlplus would indicate Oracle. Moving to Oracle forum. If i'm wrong, please reply here.

-----Post Update-----

What does "Blowfish" encryption and OpenSSL have anything to do with sqlplus or ODBC?

-----Post Update-----

What does "Blowfish" encryption and OpenSSL have anything to do with sqlplus or ODBC?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0