To enter the root account via SSH in LXD type containers, you need to enter a password. The setup method is as follows:
-
In the QNAP container interface, click on the name of the LXD type container to open LXD.
-
On the LXD page, click on "Execute" to enter the execution console.
-
Execute the command: passwd and press Enter. Note that this is not the complete password, entering it incorrectly will result in an error message "Command 'xxx' not found".
-
After entering the correct command, you will be prompted to enter a new password. The default account name is root, so you just need to enter the new password and press Enter (the password will not be displayed during the input process, just keep typing until finished). There will be a second confirmation, press Enter again. When you see "passwd: password updated successfully", it means the modification was successful. You can then close and exit.
Attachment: Baota panel upgrade command
To connect to the terminal, enter the root account and password, and then execute the following commands in order:
curl https://io.bt.sy/install/update_panel.sh|bash
bash update_panel.sh
Wait for the download and installation to complete, as shown in the following figure: