Passing passwords which contain special characters on the command line

The update to the login subsystem which took place on August 4, 2020, allows new characters to be used in the password which were not previously allowed.

If you have scripts which take the password on the command line, it will be necessary to "escape" the following characters by placing a backslash in front of them.

! & ( ) | " \ / ' ; < > `

So, for example, if your new password is


then to pass this as a command line parameter will require you to enter it as


connectd package only

If you are using the connectd_installer or connectd_register scripts, if you have a double quote in your password, it requires double escaping in order to work properly.

For example, if your new password is:


you’ll have to enter it as:


If you have any issues with this, please let us know at  which special characters are in your password.

Was this article helpful?
0 out of 0 found this helpful