How to secure login with oracle SQL*Plus with a password On UNIX and Linux platforms.

Posted by Jiltin     21 March, 2009    4,513 views   

Most of us sometimes start SQL * Plus with a password on UNIX and Linux platforms without knowing security threat.

For example, an application user connects SQL * Plus by passing username and password on Unix/Linux Server.

$ sqlplus apps/apps@proddb

Here the sqlplus command parameters are very much available for viewing by all operating system users on the same host computer; as a result, password entered on the command line could be exposed to other users, as below.

$ ps -efgrep sqlplus
oracle 14490 2190 0 16:31:53 pts/5 0:00 sqlplus apps/apps@proddb
oracle 14493 14491 0 16:32:01 pts/5 0:00 grep sqlplus

So, there might be a chance for an intruder to know the user id and password, and can connect to the database using that credentials.

Then, following is the secure and best way of connecting SQL * Plus where the password is not exposed on the command line.

$ sqlplus apps@proddb
Enter password: ****

Or, even not to expose the username and connecting string.

$ sqlplus
Enter user-name: apps@proddb
Enter password: ****

Or

$ sqlplus /nolog
SQL> connect apps@proddb
Enter password: ****

And also, do not use the password while invoking Export/Import Utility using exp/imp command line, and for any other command line utilities which you think the password will be exposed to others.

On Microsoft Windows, the command recall feature (the Up arrow) remembers user input across command invocations.

For example, if you use the CONNECT APPS/password notation in SQL*Plus, exit, and then press the Up arrow to repeat the CONNECT command, the command recall feature discloses the connect string and shows the password. So, it is advice *NOT* to pass the password while connecting to SQL * Plus on windows as well.

Following Google Searches Lead To This Post: oracle sqlplus login script
enter sqlplus username password + shell script
sqlplus login.sql
oracle login with unix user
login.sql for sqlplus linux
+oracle +sqlplus +shell +linux +password
connecting to Oracle using encrypted password
sqlplus default dba user id and password 10g
how to connect sqlplus in unix without passing login details
“sqlplus -logon”
login to sqlplus using windows logon id
oracle sql password encryption
how to login oracle sql plus in linux
sqlplus unix password with @
How we can send the Database Password from Oracle Application to Unix script
how to login into oracle from unix
accessing oracle sql without password
Oracle sql default login
UNIX sqlplus connect user/pas
oracle connections using an encrypted password
how to connect pl sql oracle aix
pass connect string into sqlplus
how to get text plus app without a password
Passing Username Password + unix
connect to sqlplus in unix
connecting to oracle10g from sql plus userid and password
oracle dba login nopass
oracle sqlplus encrypted communication?
sqlplus connection commands for linux
oracle sqlplus password encrypting
oracle shell script password encryption
oracle example without password
how to login in oracle+unix
oracle sqlplus command password encription
securing oracle passwords in scripts
passing secure password to bash scripts
oracle encrypt password sql
connect oracle from unix using export
sqlplus command line in “linux script”
oracle sql plus creat new username & password
how to pass userid password in file to sqlplus
“shell script” oracle “sql plus” options
connect oracle sqlplus with using password
bash sqlplus sql
oracle 10g secure login
passing oracle username password in a sqlplus script
securing oracle login passwords
oracle sample script to send email to change password
how to connect the linux server without the knowing the username and password
login to SQL plus through unix
securing database login from unix
pass apps password in shell script
sqlplus bash password
sqlplus unix secure user password
How to get list of oracle username and password in linux
sqlplus passwords scripts linux
Encrypt the Password in Oracle Sqlplus
oracle exp from sqlplus
how to encrypt oracle database password in a shell script
opr oracle
sqlplus connect “to linux” server
oracle sqlplus unix
oracle login examples
oracle exp username/password@connect string
how to log in SQL*Plus on unix
oracle encrypted password in shell script
oracle “running sqlplus” “from shell” scripts
sql plus default username and password for 10g
connect command from unix to sqlplus
oracle login script for linux
using shell script to connect sqlplus in linux
how to setup sqlplus for a unix user
how to make secure connection to oracle 10g database in linux
nsis+sqlplus
sqlplus repeat command
“sqlplus -s ” encrypt password
operating system login oracle sqlplus
oracle sqlplus encrypted passwords
sql logon in unix
how to use encrypted password to connect sqlplus in oracle
How to connect to sqlplus from unix
unix shell script with import to sql with password
Oracle EXP password encryption
recall commands in sqlplus
oracle linux ps username password
oracle sqlplus function for base64
how to pass encrypted password to sqlplus
pass password to sqlplus
sqlplus password ps
sql connect db unix bash
oracle “change password” “without sqlplus”
connect sqlplus from unix
how to change the user password using sqlplus without logging in
hide password input unix sqlplus shell script
secure password in sql
pass encrypted password to sqlplus
secure oracle password
oracle sql hide password when logging in script
prompt hide password with & in oracle
default dba password for sqlplus linux
bash sqlplus password
hide sqlplus password ps
how to create username and password by using sqlplus in oracle 10g
oracle sqlplus user password from unix shell
oracle sqlplus user password passing in unix shell
oracle sqlplus password in ps listing
sqlplus encrypted password
oracle 10g login general user name and password
access sqlplus in unix export
oracle login without password
oracle logon encryption
shell script hide password oracle
how to write encrypted oracle sql file
exp username/password@connection
login into oracle database as sys without password in linux
connecting to oracle from linux via sqlplus
how to connect oracle “without sqlplus”
apps login from sqlplus secure views
oracle secure windows connect linux
oracle password ps display
how to login to sqlplus from unix
imp userid/password@+FROM USER+FILE=
hide oracle password in unix script
sql plus oracle 11 login
handle password unix environment scripts oracle
hide password unix environment scripts oracle
default user name and password + oracle sqlplus + 10g
php oracle 10 connection password hide
how to secure sql password string
oracle sql username password
how to hide sqlplus password
sqlplus connect string example
Oracle connect encrypted password
sqlplus password unix-skript
oracle login script
force user logon,sqlplus ,windows
oracle sqlplus connect with system id
bash shell oracle sql file start
linux sqlplus command repeat
oracle sqlplus connection logging
oracle exp in scripts no password prompt
sqlplus apps/apps@
oracle to unix connection
run sql using shell script hide user name and password
hiode passords ps -efa sql
linux run sqlplus with password file
sqlplus parameter password
LOGIN TO ORACLE USING SQL COMMAND LINE in linux
sqlplus connect without password
bash + access to oracle sqlplus from another user
sqlplus without password ps
how to hide connection passwords in the shell scripts
example of using CONNECT oracle sql command on Unix
oracle logon using password file
connecting sqlplus from unix
unix sqlplus read password from script
oracle connect string from unix scripts
sqlplus hide login window
oracle encrypt password shell
how to connect to sqlplus from unix
sqlplus command without password in unix
how to use encrypted password in sqlplus command in unix
how to pass sql username and password in unix
encrypt password to connect oracle database using sql plus
sql plus encrypted user
sqlplus unix password
unix oracle user id / password parameters to pass
oracle sqlplus shell script .sql
oracle +exp +unix +ps +password
passing parameters unix script oracle uerid password
oracle10g secure logon
how to login to sqlplus from linux
sqlplus running scripts bash
unix oracle login.sql run
commnd for connect sqlplus unix
sqlplus connection protocol encryption
sqlplus base64
hide username password oracle exp
connecting with sqlplus without id and password
how to get oracle password in Unix
password encryption while using sqlplus /
logging in sqlplus in unix evvironment
calling SQLplus encrypted password
hiding oracle password in unix scripts
sqlplus bash script
sqlplus password security
oracle sqlplus unix /
login to oracle via sqlplus linux
login into oracle without username and password

Post to Twitter  Post to Delicious  Post to Digg    Post to StumbleUpon

Categories : 11i DBA Scripts, 11i Scripts, Oracle Applications, Scripts Oracle, Scripts Unix Tags : ,

Comments
December 9, 2009

Love the plugin. Is there a way to include the thumbnail photo with the excerpts?

Posted by china phone
Leave a comment

(required)

(required)