Applicable Products
- All NAS series running QTS
Root Cause
In some cases, after performing a reset, the default admin credentials may not work due to persistent configuration files or compatibility issues, such as incomplete resets or system file corruption.
Solution
If you have tried to reset your NAS but are still unable to log in, please follow these steps to reset your admin password.
Important
- Removing or reinserting drives incorrectly can risk data loss. Please note the drive order and do not initialize the NAS during this process.
- This task requires SSH connections. If you are not familiar with SSH, please read this FAQ first. If you are still not sure how to do it, please contact QNAP Tech Support.
- Power off your NAS and remove all drives.
- Power on the NAS without any disks inserted. Wait until you hear a short beep, then a long beep, before proceeding.
- Download and install Qfinder Pro.
- Run Qfinder Pro to locate your NAS and note its IP address.
Important: If prompted to initialize the NAS, click No.

- Without powering off, re-insert the drives in their original order.

- Use SSH to access the NAS and log in using the default admin credentials.
Determine your NAS model:
To check which type of NAS model you have, run:
ls /sbin/hal_app
Observe the output:
- If you see:
ls: /sbin/hal_app: No such file or directoryYour NAS is a Legacy model. Use the steps under Legacy model below. - If there is no error message and the command completes silently, your NAS is a HAL model. Use the steps under HAL model below.
Legacy model
Enter the following commands, pressing Enter after each:
config_util 1
storage_boot_init 1
cd /mnt/HDA_ROOT/.config/
cp /etc/default_config/passwd ./
cp /etc/default_config/shadow ./
cp /etc/default_config/group ./
reboot
HAL model
Enter the following commands, pressing Enter after each:
storage_util --sys_startup
passwd (Follow the prompts to set a new admin password.)
reboot
After rebooting, your admin password will be updated.
Further Reading
対象製品
- All NAS series running QTS
原因
場合によっては、リセットを行った後に、デフォルトの admin 認証情報が動作しないことがあります。これは、永続的な設定ファイルや互換性の問題、例えば不完全なリセットやシステムファイルの破損が原因です。
解決策
NAS のリセットを試みたがログインできない場合は、以下の手順に従って admin パスワードをリセットしてください。
重要
- ドライブを誤って取り外したり再挿入したりすると、データ損失のリスクがあります。ドライブの順序に注意し、このプロセス中に NAS を初期化しないでください。
- この作業には SSH 接続が必要です。SSH に慣れていない場合は、まずこのFAQをお読みください。それでも方法がわからない場合は、QNAP テクニカルサポートにお問い合わせください。
- NAS の電源を切り、すべてのドライブを取り外します。
- ディスクを挿入せずにNAS の電源を入れます。短いビープ音と長いビープ音が聞こえるまで待ってから次に進みます。
- Qfinder Pro をダウンロードしてインストール。
- Qfinder Pro を実行して NAS を見つけ、IP アドレスを確認します。
重要: NAS の初期化を求められた場合は、いいえをクリックします。

- 電源を切らずに、ドライブを元の順序で再挿入します。

- SSH を使用して NAS にアクセスを行い、デフォルトの管理者資格情報を使用してログインします。
NAS モデルを確認する:
どのタイプの NAS モデルを持っているか確認するには、次を実行します:
ls /sbin/hal_app
出力を確認します:
- 次のメッセージが表示された場合:
ls: /sbin/hal_app: No such file or directoryNAS はLegacy modelです。以下のLegacy modelの手順を使用してください。 - エラーメッセージが表示されないかつコマンドが静かに完了する場合、NAS はHAL modelです。以下のHAL modelの手順を使用してください。
Legacy model
以下のコマンドを入力し、各コマンドの後にEnterを押してください:
config_util 1
storage_boot_init 1
cd /mnt/HDA_ROOT/.config/
cp /etc/default_config/passwd ./
cp /etc/default_config/shadow ./
cp /etc/default_config/group ./
reboot
HAL model
以下のコマンドを入力し、各コマンドの後にEnterを押してください:
storage_util --sys_startup
passwd (プロンプトに従って新しい admin パスワードを設定してください。)
reboot
再起動後、admin パスワードが更新されます。
さらに読む