printf "John:$(openssl passwd -crypt V3Ry)\n" >> .htpasswd
# this example uses apr1 (Apache MD5) encryption
printf "Mary:$(openssl passwd -apr1 SEcRe7)\n" >> .htpasswd
> .htpasswd # this example uses apr1 (Apache MD5) encryption printf "M..." />
printf "John:$(openssl passwd -crypt V3Ry)\n" >> .htpasswd
printf "Mary:$(openssl passwd -apr1 SEcRe7)\n" >> .htpasswd