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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Lower case username logon problem

Re: Lower case username logon problem

From: Brian Peasland <dba_at_nospam.peasland.net>
Date: Thu, 12 Oct 2006 16:41:31 GMT
Message-ID: <J717pD.t8@igsrsparc2.er.usgs.gov>


Johnny Williams wrote:
> Hi,
>
> I've created the following username:
>
> CREATE USER "Test" IDENTIFIED BY test;
> GRANT CREATE SESSION TO "Test";
>
> Can anyone explain why SQLPLUS "Test"/test and SQLPLUS "Test"/"test" both
> fail with 'ORA-01017: invalid username/password; logon denied'?
>
> Yet just entering SQLPLUS and entering the username and password at the
> prompts works:
>
> Enter user-name: "Test"
> Enter password: (test or "test" typed here)
>
> Connected to:
> Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
> With the Partitioning, OLAP and Data Mining options
>
> SQL>
>
> Thanks for any help.
>
>

In Oracle 9.2.0.7 on Solaris, I get the same results you did. I cannot answer *why* this is occuring. Maybe SQL*Plus is doing something different when the username is a command line parameter as opposed to the response to a question.

But the real reason I am writing this is to question why you are trying to create a username that is case sensitive? To me, this is asking for major confusion down the road. Why not use all upper case as Oracle defaults to?

Cheers,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Thu Oct 12 2006 - 11:41:31 CDT

Original text of this message

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