ご利用ガイド KUSANAGI manager パスワードを変更する
目次
KUSANAGI managerではベーシック認証を使って認証を行っています。
この認証を行うためのユーザー名を変更したり、追加する手順をご紹介します。
KUSANAGI managerが利用できる「かんたんKUSANAGI」テンプレートのインストール方法、KUSANAGI managerへのアクセス方法については以下のガイドをご確認ください。
KUSANAGI managerのパスワード変更方法、ユーザーの追加方法
[1] コントロールパネルのコンソールやSSHクライアントソフトでVPSへ接続します。
[2] 「cd /opt/kusanagi-manaer」でディレクトリを変更します。

[3] 今回は例として「root」のパスワードを変更します。
「htpasswd -m .htpasswd root」を実行します。
※パスワードは表示されませんのでご注意ください。

[4] ユーザーを追加したい場合も同様のコマンドを実行します。
「conoha」というユーザーを追加する場合は、「htpasswd -m .htpasswd conoha」を実行します。

ユーザーの確認方法
[1] コントロールパネルのコンソールやSSHクライアントソフトでVPSへ接続します。
[2] 「cd /opt/kusanagi-manaer」でディレクトリを変更します。

[3] 「cat .htpasswd | cut -d “:” -f 1」を実行します。

ユーザーを削除する
[1] コントロールパネルのコンソールやSSHクライアントソフトでVPSへ接続します。
[2] 「cd /opt/kusanagi-manaer」でディレクトリを変更します。

[3] 今回は例として「root」を削除します。
「htpasswd -D -m .htpasswd root」を実行します。

- 問題は解決できましたか?
-