Multiple Boot Modes for Better Security

GRUB boot menu options Persistent User / Live user / Persistent Admin / Persistent Recovery Mode and their use cases.
This is a concept still in development. Waiting for implementation. Help welcome!
Contents
- 1 Introduction
- 2 Development Goals
- 3 Grub Default Boot Menu Entries
- 4 boot modes considered too unimportant to be added to grub default boot menu
- 5 Use Cases for the Different Boot Modes
- 6 opt-out to get same behavior as old Kicksecure
- 7 /etc/grub.d file names
- 8 Server Support
- 9 Implementation
- 10 Prior Versions
- 11 Tickets
- 12 Related
- 13 Footnotes
Introduction
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Introduction
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Introduction|Introduction]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Introduction](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Introduction)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Introduction](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Introduction)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Introduction]Introduction[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
The page discusses different boot modes in the Kicksecure operating system, aimed at improving security by implementing role-based boot options. It describes modes like "Persistent User" for daily activities, "Persistent Admin" for updates, software installation and full system control. The goal is to isolate user activities and reduce security risks by restricting what each boot mode can access and modify. The page also explains potential opt-outs for users who prefer traditional root access.
These schemes are generic. They work for both, hosts and VMs. Both, Kicksecure and derivatives of Kicksecure such as (non-Qubes) Whonix®.
Development Goals
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Development_Goals
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Development_Goals|Development Goals]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Development Goals](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Development_Goals)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Development Goals](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Development_Goals)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Development_Goals]Development Goals[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
These goals were and are the driving direction for our boot modes implementation.
- defeat login spoofing
- Prevent Malware from Sniffing the Root Password
- Strong Linux User Account Isolation
- Noexec
- Verified Boot
Grub Default Boot Menu Entries
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Grub_Default_Boot_Menu_Entries
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Grub_Default_Boot_Menu_Entries|Grub Default Boot Menu Entries]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Grub Default Boot Menu Entries](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Grub_Default_Boot_Menu_Entries)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Grub Default Boot Menu Entries](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Grub_Default_Boot_Menu_Entries)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Grub_Default_Boot_Menu_Entries]Grub Default Boot Menu Entries[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
These are the default grub boot menu entries that we offer:
PERSISTENT mode USER (For daily activities.)
LIVE mode USER (For daily activities.)
PERSISTENT mode ADMIN (For software installation.)
Recovery PERSISTENT mode ADMIN (Be very cautious!)
boot modes considered too unimportant to be added to grub default boot menu
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#boot_modes_considered_too_unimportant_to_be_added_to_grub_default_boot_menu
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#boot_modes_considered_too_unimportant_to_be_added_to_grub_default_boot_menu|boot modes considered too unimportant to be added to grub default boot menu]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[boot modes considered too unimportant to be added to grub default boot menu](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#boot_modes_considered_too_unimportant_to_be_added_to_grub_default_boot_menu)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[boot modes considered too unimportant to be added to grub default boot menu](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#boot_modes_considered_too_unimportant_to_be_added_to_grub_default_boot_menu)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#boot_modes_considered_too_unimportant_to_be_added_to_grub_default_boot_menu]boot modes considered too unimportant to be added to grub default boot menu[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
We currently don’t see good use cases to include these modes as default. But we could be convinced otherwise by user feedback in the future.
LIVE mode ADMIN
Recovery LIVE mode ADMIN
DIY methods to include these and other entries intro the GRUB boot menu
A If anyone cares about these, there could be files in /etc/grub.d/
folder that add such entries but these files could be non-executable by default. Thereby update-grub
would ignore them. To opt-in into such modes, users could just run sudo chmod +x /etc/grub.d/somenumber_name-of-boot-mode
.
B Also users who really want something special/custom would be able to add whatever they want to /etc/grub.d/
folder / grub boot menu.
C Also by using grub boot menu editing (key e
) at grub boot menu, kernel parameters can be adjusted and any combination would be possible.
Use Cases for the Different Boot Modes
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Use_Cases_for_the_Different_Boot_Modes
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Use_Cases_for_the_Different_Boot_Modes|Use Cases for the Different Boot Modes]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Use Cases for the Different Boot Modes](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Use_Cases_for_the_Different_Boot_Modes)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Use Cases for the Different Boot Modes](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Use_Cases_for_the_Different_Boot_Modes)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Use_Cases_for_the_Different_Boot_Modes]Use Cases for the Different Boot Modes[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
These are common use cases that we tailored the available boot modes towards.
PERSISTENT mode USER (For daily activities.)
: Useful for browsing, e-mail, chat, etc. or just letting an already set up and installed server run. Even upgrading throughupgrade-nonroot
.LIVE mode USER (For daily activities.)
: Same as above but without persistence.PERSISTENT mode ADMIN (For administrative tasks.)
: users could runsudo apt install whatever-software-package
, then reboot into USER. Editing/etc/apt/sources.list.d
, etc.Recovery PERSISTENT mode ADMIN
: The usual recovery mode.
opt-out to get same behavior as old Kicksecure
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#opt-out_to_get_same_behavior_as_old_Kicksecure
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#opt-out_to_get_same_behavior_as_old_Kicksecure|opt-out to get same behavior as old Kicksecure]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[opt-out to get same behavior as old Kicksecure](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#opt-out_to_get_same_behavior_as_old_Kicksecure)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[opt-out to get same behavior as old Kicksecure](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#opt-out_to_get_same_behavior_as_old_Kicksecure)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#opt-out_to_get_same_behavior_as_old_Kicksecure]opt-out to get same behavior as old Kicksecure[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Users who don’t like (any, multiple or all) of the new options...
PERSISTENT mode USER (For daily activities.)
[A]LIVE mode USER (For daily activities.)
[B]PERSISTENT mode SECUREADMIN (For administrative tasks.)
[C]
and who want "the old Kicksecure" "with unrestricted sudo for user user
" back, who don't want to see any of the new options [A], [B], [C]... These could just make these /etc/grub.d
folder / grub menu entries gone by running sudo chmod -x /etc/grub.d/somenumber_name-of-boot-mode
. (There could be a script to simplify that.)
/etc/grub.d file names
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#.2Fetc.2Fgrub.d_file_names
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#.2Fetc.2Fgrub.d_file_names|/etc/grub.d file names]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[/etc/grub.d file names](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#.2Fetc.2Fgrub.d_file_names)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[/etc/grub.d file names](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#.2Fetc.2Fgrub.d_file_names)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#.2Fetc.2Fgrub.d_file_names]/etc/grub.d file names[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Information for working on the /etc/grub.d
file
filename purpose --------------------------------------- ----------------------------- /etc/grub.d/10_linux PERSISTENT mode USER /etc/grub.d/11_linux_live LIVE mode USER /etc/grub.d/12_linux_admin PERSISTENT mode ADMIN /etc/grub.d/13_linux_admin_live LIVE mode ADMIN /etc/grub.d/16_linux_recovery_mode PERSISTENT mode ADMIN /etc/grub.d/17_linux_recovery_mode_live Recovery LIVE mode ADMIN
Should stay in lexical order below files named /etc/grub.d/20_
because that is already used by an existing script.
Note: some files will not be created in the first iteration (and not sure ever) - those listed in chapter Boot modes considered too unimportant to be added to grub default boot menu:
in my post above.
Server Support
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Server_Support
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Server_Support|Server Support]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Server Support](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Server_Support)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Server Support](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Server_Support)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Server_Support]Server Support[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
grub boot menu isn’t easily accessible for many/most servers. How would these various boot modes be available for servers? No solution yet. See forum discussion: https://forums.whonix.org/t/multiple-boot-modes-for-better-security-persistent-user-live-user-persistent-admin-persistent-superadmin-persistent-recovery-mode/7708/50
Implementation
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Implementation
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Implementation|Implementation]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Implementation](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Implementation)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Implementation](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Implementation)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Implementation]Implementation[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Outdated:
Prior Versions
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Prior_Versions
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Prior_Versions|Prior Versions]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Prior Versions](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Prior_Versions)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Prior Versions](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Prior_Versions)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Prior_Versions]Prior Versions[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Older concept version still containing "SUPERADMIN" and "SECUREADMIN".
Tickets
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Tickets
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Tickets|Tickets]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Tickets](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Tickets)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Tickets](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Tickets)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Tickets]Tickets[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
- create user admin by default and add user admin to group sudo by default
- Selective sudo Access Enabling in VMs Without qubes-core-agent-passwordless-root via qvm-service
Related
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Related
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Related|Related]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Related](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Related)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Related](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Related)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Related]Related[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
- disable newly (all) installed services by default
- Verified Boot
forum discussion, AppArmor for Complete System - Including init, PID1, Systemd, Everything! - Full System MAC policyAppArmor for everything. APT, systemd, init, all systemd units, all applications. Mandatory Access Control. Security Hardening.Untrusted Root - improve Security by Restricting Root
Footnotes
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Footnotes
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev%2Fuser-sysmaint-split#Footnotes|Footnotes]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Footnotes](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Footnotes)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Footnotes](https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Footnotes)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.kicksecure.com/wiki/Dev%2Fuser-sysmaint-split?direction=next&oldid=88286#Footnotes]Footnotes[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.


Copy as Wikitext

for Discourse, reddit, GitHub

Copy as Markdown

Copy as phpBB Click below ↴ = Open social URL with share data











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 12 year success story and maybe DONATE!