I have a question during the initial setup of MariaDivi.
http://coffeenix.net/doc/mysql/securing_mysql.html
In the above article
It is important to make a habit of changing passwords in the command line, such as "mysqladmin password". This is because passwords can be easily exposed when other users use the "psaux" command or look at the history file (~/.history, ~/.bash_historyetc) when working on the server.
That's what it says. Doesn't the mysqladmin utility eventually leave a log because it's input from the command line?
database
It's self-answer
The part about mysql log is in the mysql config file
It can be controlled by setting export MYSQL_HISTFILE=/dev/null.
We need to check more about Shell HistoryYo
It's a reference~
http://www.thegeekstuff.com/2010/01/disable-mysql-history-clear-mysql_history-and-mysql_histfile/
© 2024 OneMinuteCode. All rights reserved.