Skip to content

Update default password for X8 #1984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ chmod +x 399-install-update
sudo ./399-install-update
```

Remember that the default password for admin access is `fio`.
Remember to set a new admin password at your first access.

***For image versions earlier than 844, the default password for admin access is `fio`.***

Now you need to reboot the board by pressing its pushbutton for around 10 seconds. After that, connect again to your Portenta X8 through the Command Line and type the following commands:

Expand Down Expand Up @@ -759,15 +761,19 @@ At this point, you can type `adb shell` to start communicating with your Portent

As it is a Linux device, you can do tasks like creating files, changing directories, etc.

To gain admin (root) access, type `sudo su -` and the password, which by default is `fio`. After that, the terminal prefix should turn red.
To gain admin (root) access, type `sudo su -` and set your own password.

***For image versions earlier than 844, the default password for admin access is `fio`.***

After that, the terminal prefix should turn red.

![ADB shell with admin access](assets/adb-sudo-su.png "ADB shell with admin access")

You can now freely program your Portenta X8 Linux OS. In the sections below you can check some basic commands to get started.

### Change Default User Password

Your Portenta X8 comes with the default user fio with password fio.
For image versions earlier than 844, our Portenta X8 comes with the default user fio with password fio.

For security reasons, we strongly suggest changing the default password. To do so, when logged in to your Portenta X8, launch this command to change the password of the fio account:

Expand Down Expand Up @@ -1215,7 +1221,7 @@ Open Portenta X8 Shell as explained [here](#working-with-linux).
sudo modprobe spi-dev
```

Insert the user password `fio`.
Insert the user password.

An upcoming image release for the X8 will load the `spi-dev` modules automatically at boot. In the current version, please create a `/etc/modules-load.d/spi-dev.conf` file with the following content:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Test your IP connection by exiting the `adb shell`, you can use **CTRL+Z** or ty
ssh fio@<localIP>
```

***To connect through SSH, the user's password, "fio," will be requested. If you have trouble connecting with the SSH, please check the troubleshooting section at the end of this tutorial.***
***To connect through SSH, the user's admin password you setup at first access will be requested. If you have trouble connecting with the SSH, please check the troubleshooting section at the end of this tutorial.***

### Copy/Push the Docker-Compose.yml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,6 @@ In this tutorial, we went through installing and running a WordPress and databas

- If the containers are not being installed or running correctly, check if any other containers are currently running on the same ports as the ones used by the WordPress container. You can check it with ``docker ps -a``.

- If there is any issue running docker commands, ensure you are using ``sudo`` before the commands or having root access using: ``sudo su -r`` with password: ``fio``.
- If there is any issue running docker commands, ensure you are using ``sudo`` before the commands or having root access using: ``sudo su -r`` with the password you selected at first access.

- If you cannot connect to the site when everything is running, you can double-check the X8's IP address. Run the command `ip -h address` in the **adb shell**. This will display the X8's IP address via USB and Wi-Fi®. Try connecting via those IP addresses if all the rest fails.