immutable

From Kicksecure
Jump to navigation Jump to search

An "immutable" system is one where core parts of the system cannot be changed while it is running. In Kicksecure, this means important folders like /usr and /etc are read-only to protect the system from unwanted changes. Depending on the selected boot mode, personal files in /home may or may not be saved after shutdown. This page explains what immutability means in practice and how you can choose the right mode for your needs.

Introduction

[edit]

The term "immutable" generally means that the running system cannot be altered. In technical terms, this is often achieved by using a read-only root file system. For further explanation and comparisons with other Linux distributions, see Dev/immutable.

When booting into Kicksecure live mode, the user session runs in a fully immutable (read-only) environment. System folders such as /usr, /etc, /var, /boot, and /root cannot be modified by the user account. While the /home folder is writable, all changes are stored temporarily in RAM and discarded after shutdown. In user session, the user account cannot escalate to administrative ("root") rights either.

In persistent mode, user session the system folders remain read-only for the user account, but changes made in the /home folder are saved and persist after reboot.

The GRUB boot menu allows you to choose the level of immutability. Want everything read-only? Select live mode. Need a persistent /home folder? Use persistent mode.

To make permanent changes to system folders like /usr, /etc, /var, /boot, or /root, boot into persistent mode, sysmaint session. For more details, see user-sysmaint-split.

If the user-sysmaint split does not suit your needs, consider using Unrestricted Admin Mode.

Simplified Boot Modes Comparison Table

[edit]
Feature PERSISTENT Mode (USER Session) LIVE Mode (USER Session) LIVE Mode (SYSMAINT Session) PERSISTENT Mode (SYSMAINT Session)
What it’s for Everyday use with saved personal files and settings. Temporary use. All changes are forgotten after reboot. Temporary system repair or maintenance. Full access for permanent system changes.
Can change system files (like /usr, /etc) No, read-only No, read-only No, read-only (temporary) Yes, read-write
Can save files in /home (personal folder) Yes, saved after reboot No, temporary only No, temporary only Yes, saved after reboot

Advanced users, developers can also have a look at the more complex Boot Modes Comparison Table.

Notification image

We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 13 year success story and maybe DONATE!