Whichever command i execute using password and other secrets that appears/display while doing
For example: i want to connect with mysql db:
/usr/bin/mysql -h hostname -u username --password=password dbname
While executing both command in meanwhile time when i do “ps aux” which display secrets as Hostname and password in process table.
What’s best way to hide secrets from process table.?
As i know
hidepid=2 hide process from other user which actually is not my solution of above problem.