How to use special character in password for HTPasswd authentication in RHOCP 4 ?
Issue
- Special characters
&, |, ;, ", ', !
used in thePassword
forHTPasswd
authentication
givecommand not found
error.
$ htpasswd -B -b ~/tmp/labs/auth-provider/htpasswd ocp4acmy mymm&qwe
[1] 4172
Updating password for user ocp4acmy
bash: qwe: command not found...
[1]+ Done htpasswd -B -b ~/DO280/labs/auth-provider/htpasswd ocp4acmy mymm
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.