Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to hide sqlplus login/passwd
>How can I hide username/password when I just want to enter sqlplus
>and run commands from the sql> prompt?
you can also create a login.sql file and put it somewhere in the oracle
path. in there you go:
define mypass=whatever
myuserid=whatever
connect &&myuserid/&&mypass.
then when you go sqlplus / from the command line it will connect as you
always.
just make sure nobody else can read the login.sql file.
Received on Tue Jan 05 1999 - 20:02:39 CST
![]() |
![]() |