Escape char when setting password

Can you list me what chars to escape when setting password via cli? Like:

/usr/local/hestia/bin/v-add-mail-account user domain.com username sd3Sa 5120;

What exaclty chars like ! must I escape with \ ?

Just enclose your password using single quotes and you won’t need to escape characters.

/usr/local/hestia/bin/v-add-mail-account user domain.com username 'sd3Sa' 5120
2 Likes

I remember when using ! I had to escape it as it terminates command. So I am sure about ! but wondering if there are any. You can test yourself if you like.

With single quotes you won’t have any issue using !

2 Likes

Sorry did not note that. Thank you very much. :kissing_heart:

1 Like