You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.3 KiB
Markdown

12 months ago
??? danger "✮ ✮ ✮ CHANGE THE PASSWORDS! ✮ ✮ ✮"
PiKVM comes with the following default passwords:
10 months ago
* **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.
12 months ago
10 months ago
**These are two separate entities with independent accounts.**
10 months ago
10 months ago
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).
12 months ago
10 months ago
```console
[root@pikvm ~]# rw
[root@pikvm ~]# passwd root
[root@pikvm ~]# kvmd-htpasswd set admin
[root@pikvm ~]# ro
12 months ago
```
10 months ago
12 months ago
If you require additional user for the Web UI access, use the following:
10 months ago
```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
12 months ago
```
**Optionally you can enable the [two-factor authentication](auth.md#two-factor-authentication) for more security.**
10 months ago
10 months ago
*Changing the [VNCAuth passkey](vnc.md) and [IPMI password](ipmi.md) at the first start of PiKVM is not required,
10 months ago
since these services are disabled by default. But it is here just so that you remember their existence.*