printf "testuser:$(openssl passwd -crypt testpwd)\n" >> .htpasswd
Create htpasswd file
.htpasswd с помощью openssl.
printf "testuser:$(openssl passwd -crypt testpwd)\n" >> .htpasswd