If you follow the general advices to create secure password the following ones seem to be secure, right?
s11P$||!sh&2 pr0&!!ke0 3kj39|!381The answer to the question is, “it depends on how you use them”
Notice that these passwords all contain multiple exclamation points and ampersands which are normally special characters for your shell. The people tend to copy and paste them directly to the terminal but that can lead to some non-predictable behavior and therefore cause big problems depending on the character combination.
Let’s execute the previous examples:
Login to mysql:
root@debian:~# mysql -uroot -ps11P$||!sh&2
mysql -uroot -ps11P$||shutdown -r
now&2
[1] 1758
-bash: 2: command not found
root@debian:~# ERROR 1045 (28000): Access denied for user
'root'@'localhost' (using …