我正在尝试从命令行自动创建密码.我已经尝试了下面,但它仍然不断要求密码.
echo "test101" | htpasswd -c ~/temp/password admin
为什么不用:
htpasswd -b -c ~/temp/password admin test101