So I’m working to hide the password from the ps -aux list, or w list in linux.
I’m using rlwrap and sqlplus, connecting thusly:
rlwrap sqlplus user/pass@connect_identifier
And it shows my pass in plaintext in the who list.
Anyone know how I can make it so that it does not show the password?
(Answer shamelessly stolen from here)
You can invoke sqlplus with something like:
where
/path/to/scriptcontainsconnect user/pass@connect_identifier; and has permissions such that a normal user can’t access it.