Skip to content

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

  1. Open the Chromium browser in FydeOS.
  2. Press the Ctrl + Alt + t keys on your keyboard simultaneously. If youโ€™re using an Apple Mac, you may need to press Fn + Ctrl + Alt + t.
  3. 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:

  1. Type shell into the prompt and press enter.
  2. The prompt should now display chronos@localhost / $.

Step 3: Obtaining Root Access

To gain root access, enter the following command:

Terminal window
sudo -i

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.