2023-06-08 20:39:51 +00:00
|
|
|
??? danger "✮ ✮ ✮ CHANGE THE PASSWORDS! ✮ ✮ ✮"
|
|
|
|
PiKVM comes with the following default passwords:
|
|
|
|
|
2023-08-20 06:59:53 +00:00
|
|
|
* **Linux admin** (SSH, console, etc.): user `root`, password `root`.
|
|
|
|
* **PiKVM Web Interface** ([API](api.md), [VNC](vnc.md)...): user `admin`, password `admin`, no 2FA code.
|
2023-06-08 20:39:51 +00:00
|
|
|
|
2023-08-14 12:10:54 +00:00
|
|
|
**These are two separate entities with independent accounts.**
|
2023-08-20 07:04:39 +00:00
|
|
|
|
2023-08-20 06:59:53 +00:00
|
|
|
To change passwords, you will need to use the console access via SSH or the Web Terminal.
|
|
|
|
If you are using the Web Terminal, enter the `su -` command to get the `root` access (enter the `root` user password).
|
2023-06-08 20:39:51 +00:00
|
|
|
|
2023-08-20 06:59:53 +00:00
|
|
|
```console
|
|
|
|
[root@pikvm ~]# rw
|
|
|
|
[root@pikvm ~]# passwd root
|
|
|
|
[root@pikvm ~]# kvmd-htpasswd set admin
|
|
|
|
[root@pikvm ~]# ro
|
2023-06-08 20:39:51 +00:00
|
|
|
```
|
2023-08-20 06:59:53 +00:00
|
|
|
|
2023-06-08 20:39:51 +00:00
|
|
|
If you require additional user for the Web UI access, use the following:
|
2023-08-20 06:59:53 +00:00
|
|
|
|
|
|
|
```console
|
|
|
|
[root@pikvm ~]# kvmd-htpasswd set <user> # Set a new user with password or change of an existing one
|
|
|
|
[root@pikvm ~]# kvmd-htpasswd del <user> # Remove/delete a user
|
2023-06-08 20:39:51 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
**Optionally you can enable the [two-factor authentication](auth.md#two-factor-authentication) for more security.**
|
2023-08-14 12:10:54 +00:00
|
|
|
|
2023-08-14 12:19:26 +00:00
|
|
|
*Changing the [VNCAuth passkey](vnc.md) and [IPMI password](ipmi.md) at the first start of PiKVM is not required,
|
2023-08-14 12:10:54 +00:00
|
|
|
since these services are disabled by default. But it is here just so that you remember their existence.*
|