Timeline for How to escape ! in password?
Current License: CC BY-SA 3.0
Post Revisions
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 26, 2018 at 15:34 | history | tweeted | twitter.com/ServerFault/status/1000399729522630656 | ||
| May 23, 2018 at 8:02 | answer | added | user7341695 | timeline score: 3 | |
| Apr 13, 2017 at 12:14 | history | edited | CommunityBot |
replaced http://serverfault.com/ with https://serverfault.com/
|
|
| Aug 2, 2012 at 19:19 | answer | added | Richard Kettlewell | timeline score: 5 | |
| Aug 2, 2012 at 11:24 | comment | added | cas | management is wise and all-knowing :) | |
| Aug 2, 2012 at 11:01 | comment | added | dotancohen |
Thanks, Craig. Actually, this is more secure than the alternative: emailing everyone a copy of the password which will then be store who-knows-where. I personally would prefer that each dev has his own /home/user and mysql user, but I'm not the decision maker in that regard.
|
|
| Aug 2, 2012 at 10:58 | vote | accept | dotancohen | ||
| Aug 2, 2012 at 10:40 | comment | added | cas |
oops. that's '\'', not ''\'
|
|
| Aug 2, 2012 at 10:37 | comment | added | cas |
BTW, putting the password on the command line is a potential security risk on a multi-user system. It is trivially easy to examine the command-line args of any running process. Use a .my.cnf file instead (remember to chmod 600 it).
|
|
| Aug 2, 2012 at 10:36 | answer | added | quanta | timeline score: 5 | |
| Aug 2, 2012 at 10:34 | comment | added | cas |
you can always use single quotes. to use a single-quote "inside" a single-quoted string, try: ''\'
|
|
| Aug 2, 2012 at 10:32 | answer | added | cas | timeline score: 46 | |
| Aug 2, 2012 at 10:30 | history | asked | dotancohen | CC BY-SA 3.0 |