• Uncategorized

About linux : Hide-password-and-other-secrets-from-process-table-ps-aux-during-execution-of-command

Question Detail

Whichever command i execute using password and other secrets that appears/display while doing ps aux.

For example: i want to connect with mysql db:

/usr/bin/mysql -h hostname -u username --password=password dbname

another command:

curl https://somesite/$HOST/$USER

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.

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.