Can one prevent passwords from appearing in the system process table?
Submitted by admin on Sat, 2004-08-07 08:18
Body:
One can prevent Oracle passwords from showing in the Unix process table (ps -ef) when running Oracle utilities like sqlplus. Look at the following solutions:
sqlplus /NOLOG @conn.sql # No messing with ps, no password leak, connect from witin conn.sqlor...
echo "Name : c"
read Name
echo "Password : c"
stty -echo
read Password
stty echo
echo ${Name}/${Password} | sqlplusor...
USER=scott
PASSWORD=tiger
{ echo ${USER}/${PASSWORD}; cat ${your_script_name_here}; } | sqlplus
Note: You can also create OPS$... or IDENTIFIED EXTERNALLY users in the database
(to use OS authentication) and connect with a "/"
»
- Log in to post comments
