Ubuntu – How to deal with special characters in linux passwords
I am running the following command: echo 'my!#%^password' | sudo -S bash -c 'useradd -m -s /usr/sbin/nologin -p $(echo my!#%^password | openssl passwd -1 -stdin) george' The issue I am having is the special characters. Some break the command, like…