Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> login verification

login verification

From: <jeff.w.mcclure_at_ameritech.com>
Date: Tue, 10 Nov 1998 23:20:18 GMT
Message-ID: <72ahnj$bf3$1@nnrp1.dejanews.com>


Folks,

I am writing a little (UNIX) shell based application which will require authentication with the database. I would like to authenticate prior to the user entering the heart of the application. I have written code to obtain the users username and password (via shell). Now I would like to test those against the database to verify that they are correct. Is there some utility or has someone written some (shell based) code to authenticate against the database? What I want to do is something like :

sqlplus $USER/$PASS

and have it return "success" or "failure" to the shell. Any and all other such schemes will be appreciated. I just dont want the user to mis-enter their password and spend 15 minutes in the application before getting an error message from sqlplus.

Thanks in advance,
All help is greatly appreciated.

Jeff McClure
Specialist Database Analyst
Ameritech New Media
Jeff.W.McClure_at_Ameritech.com

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Tue Nov 10 1998 - 17:20:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US