Terminal Basics Guide
Last Update: 2024-03-12
The following guide or recipe requires shell access to your FydeOS installation, therefore developer mode is assumed to be enabled. If altering system file is required, you will also need to disable root file system verification.
This guide will walk you through the process of accessing the Crosh and Bash shells in FydeOS, as well as obtaining root access. Please follow the steps carefully.
Step 1: Launching the Crosh Shell
- Open the Chromium browser in FydeOS.
- Press the
Ctrl + Alt + t
keys on your keyboard simultaneously. If youโre using an Apple Mac, you may need to pressFn + Ctrl + Alt + t
. - This action will automatically open a new tab in Chromium named
crosh
, which stands for โChromium OS Developer Shellโ.
Step 2: Accessing the Bash Shell
Once youโve opened the crosh
tab, follow these steps:
- Type
shell
into the prompt and press enter. - The prompt should now display
chronos@localhost / $
.
Step 3: Obtaining Root Access
To gain root access, enter the following command:
Note: from FydeOS v17 and openFyde r114 onwards,
sudo su
will no longer work. Older versions will not be impacted.
As of FydeOS for PC v6.0, the default user chronos
does not have a default password. This means you can directly use the sudo
command to perform command line operations that require root privileges. If you need to change your password, please refer to this document.