Timeline for How to add a password to a BASH script
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 4, 2015 at 11:35 | comment | added | dr_ | This is a correct answer but a bad idea. | |
| Aug 4, 2015 at 8:20 | comment | added | Stéphane Chazelas | @AlaaAli, yes, though if in the case of a script, that won't go in a shell history file. | |
| Aug 3, 2015 at 22:50 | comment | added | Alaa Ali | And the command history (assuming no/default HISTIGNORE) and audit.log (if configured to log executed commands). | |
| Aug 3, 2015 at 21:21 | history | edited | h3rrmiller | CC BY-SA 3.0 |
added 40 characters in body
|
| Aug 3, 2015 at 21:20 | comment | added | Stéphane Chazelas |
Having the password on the mysqldump command line means it will show up in the output of ps.
|
|
| Aug 3, 2015 at 21:19 | history | answered | h3rrmiller | CC BY-SA 3.0 |