Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コマンドラインからのパスワードの作成を自動化しようとしています。以下を試しましたが、それでもパスワードを要求され続けます。
echo "test101" | htpasswd -c ~/temp/password admin
htpasswdパスワードを入力せずにコマンドラインから自動化を生成するにはどうすればよいですか?
htpasswd
使用しない理由:
htpasswd -b -c ~/temp/password admin test101
-bスイッチでうまくいくはずですが、パスワードはプロセスリスト(など)を介してシステム上の他のユーザーに表示されますps。
-b
ps