Skip to content

Commit f4f7630

Browse files
docs: content improvements (#40)
1 parent fea9754 commit f4f7630

2 files changed

Lines changed: 20 additions & 25 deletions

File tree

content/FEATURES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permalink: /features
1010
- Installing and enabling [hardened_malloc](https://github.com/GrapheneOS/hardened_malloc) globally, including for flatpaks. <sup>[Thanks to rusty-snake's spec](https://github.com/rusty-snake/fedora-extras)</sup>
1111
- Installing our chromium-based browser [Trivalent](https://github.com/secureblue/Trivalent), which is inspired by [Vanadium](https://github.com/GrapheneOS/Vanadium). <sup>[Why chromium?](https://grapheneos.org/usage#web-browsing)</sup> <sup>[Why not flatpak chromium?](https://forum.vivaldi.net/post/669805)</sup>
1212
- SELinux-restricted [unprivileged user namespaces](/articles/userns)
13-
- Setting numerous hardened sysctl values <sup>[details](https://github.com/secureblue/secureblue/blob/live/files/system/etc/sysctl.d/hardening.conf)</sup>
13+
- Setting numerous hardened sysctl values <sup>[details](https://github.com/secureblue/secureblue/blob/live/files/system/etc/sysctl.d/60-hardening.conf)</sup>
1414
- Sets numerous hardening kernel arguments (Inspired by [Madaidan's Hardening Guide](https://madaidans-insecurities.github.io/guides/linux-hardening.html)) <sup>[details](/articles/kargs)</sup>
1515
- Configure chronyd to use Network Time Security (NTS) <sup>[using chrony config from GrapheneOS](https://github.com/GrapheneOS/infrastructure/blob/main/chrony.conf)</sup>
1616
- Set opportunistic DNSSEC and DNSOverTLS for systemd-resolved

content/INSTALL.md

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ To install secureblue, you will use a Fedora Atomic (or CoreOS, for securecore)
1616
- [Rebase](#rebase)
1717
- [Post-install](#post-install)
1818

19+
<hr>
20+
1921
## Pre-install
2022

2123
The following is advice on what to do before and during the installation of a Fedora ISO, and how.
2224

23-
{% include alert.html type='note' content='The cross-platform Fedora Media Writer is the <em>official, tested and supported</em> method for the creation of bootable media. Instructions (alongside a word on alternative methods) are available in the <a href="https://docs.fedoraproject.org/en-US/fedora/latest/preparing-boot-media/">Fedora documentation</a>.' %}
25+
{% include alert.html type='note' content='The cross-platform Fedora Media Writer is the <em>official, tested, and supported</em> method for the creation of bootable media. Instructions (alongside a word on alternative methods) are available in the <a href="https://docs.fedoraproject.org/en-US/fedora/latest/preparing-boot-media/">Fedora documentation</a>.' %}
2426

2527
{% include alert.html type='tip' content='If you don\'t already have a Fedora Atomic installation, use a Fedora Atomic ISO that matches your secureblue target image to install one. If you want to use a secureblue Silverblue image, start with the Fedora Silverblue ISO, Kinoite for Kinoite, Sericea (Sway Atomic) for Sericea and all the Wayblue images, and CoreOS for all the securecore images.<br>For more details on the available images, have a look at the <a href="/images">list of available images</a> before proceeding.' %}
2628

@@ -31,18 +33,20 @@ Before rebasing and during the installation, the following checks are recommende
3133
### Fedora installation
3234
- Select the option to encrypt the drive you're installing to.
3335
- Use a [strong password](https://security.harvard.edu/use-strong-passwords) when prompted.
34-
- Leave the root account disabled.
35-
- Select wheel group membership for your user.
36+
- Leave the root account disabled if prompted.
37+
- Select wheel group membership for your user if prompted.
3638

3739
### BIOS hardening
3840
- Ensure secureboot is enabled.
3941
- Ensure your BIOS is up to date by checking its manufacturer's website.
4042
- Disable booting from USB (some manufacturers allow firmware changes from live systems).
4143
- Set a BIOS password to prevent tampering.
4244

45+
<hr>
46+
4347
## Rebase
4448

45-
To rebase a Fedora Atomic or Fedora CoreOS installation to a secureblue image, download the script below. This script does not install secureblue into the existing system. It rebases (fully replaces the existing system) with secureblue.
49+
Now that you have a Fedora Atomic or Fedora CoreOS installation, rebase it to the secureblue image of your choice using the script below. This script does not install secureblue into the existing system. It rebases (fully replaces the existing system) with secureblue.
4650

4751
<a class="button" href="https://github.com/secureblue/secureblue/releases/latest/download/install_secureblue.sh">Download secureblue installer</a>
4852

@@ -52,11 +56,9 @@ Then, run it from the directory you downloaded it to:
5256
bash install_secureblue.sh
5357
```
5458

55-
## Post-install
56-
57-
After installation, [yafti](https://github.com/ublue-os/yafti) will open. Make sure to follow the steps listed carefully and read the directions closely.
59+
<hr>
5860

59-
Then, follow the following steps in order:
61+
## Post-install
6062

6163
- [Subscribe to secureblue release notifications](#release-notifications)
6264
- [Set NVIDIA-specific kargs if applicable](#nvidia)
@@ -74,10 +76,12 @@ Then, follow the following steps in order:
7476
- [Optional: Trivalent Flags](#trivalent-flags)
7577
- [Read the FAQ](#faq)
7678

79+
{% include alert.html type='note' content='After installation, <a href="https://github.com/ublue-os/yafti">yafti</a> will open. Make sure to follow the steps listed carefully and read the directions closely.' %}
80+
7781
### Subscribe to secureblue release notifications
7882
{: #release-notifications}
7983

80-
[FAQ](/faq#releases)
84+
[How to subscribe to secureblue release notifications](/faq#releases)
8185

8286
### Set NVIDIA-specific kargs if applicable
8387
{: #nvidia}
@@ -88,7 +92,7 @@ If you are using an `nvidia` image, run this after installation:
8892
ujust set-kargs-nvidia
8993
```
9094

91-
You may also need this (solves flickering and luks issues on some NVIDIA hardware):
95+
If you encounter flickering or luks issues, you may also (rarely) need this karg:
9296

9397
```
9498
rpm-ostree kargs \
@@ -146,26 +150,17 @@ Creating a dedicated wheel user and removing wheel from your primary user helps
146150

147151
{% include alert.html type='caution' content='If you do these steps out of order, it is possible to end up without the ability to administrate your system. You will not be able to use the <a href="https://linuxconfig.org/recover-reset-forgotten-linux-root-password">traditional GRUB-based method</a> of fixing mistakes like this, either, as this will leave your system in a broken state. However, simply rolling back to an older snapshot of your system, should resolve the problem.' %}
148152

153+
{% include alert.html type='note' content='We log in as admin to do the final step of removing the user account\'s wheel privileges in order to make the operation of removing those privileges depend on having access to your admin account, and the admin account functioning correctly first.' %}
149154
1. `run0`
150155
2. `adduser admin`
151156
3. `usermod -aG wheel admin`
152157
4. `passwd admin`
153158
5. `exit`
154159
6. `reboot`
155-
156-
{% include alert.html type='note' content='We log in as admin to do the final step of removing the user account\'s wheel privileges in order to make the operation of removing those privileges depend on having access to your admin account, and the admin account functioning correctly first.' %}
157-
158-
5. Log in as `admin`
159-
6. `run0`
160-
7. `gpasswd -d {your username here} wheel`
161-
8. `reboot`
162-
163-
When using a non-wheel user, you can add the user to other groups if you want. For example:
164-
165-
- use libvirt: `libvirt`
166-
- use `adb` and `fastboot`: `plugdev`
167-
- use systemwide flatpaks: `flatpak`
168-
- use usbguard: `usbguard`
160+
7. Log in as `admin`
161+
8. `run0`
162+
9. `gpasswd -d {your username here} wheel`
163+
10. `reboot`
169164

170165
{% include alert.html type='note' content='You don\'t need to login using your wheel user to use it for privileged operations. When logged in as your non-wheel user, polkit will prompt you to authenticate as your wheel user as needed, or when requested by calling <code>run0</code>.' %}
171166

0 commit comments

Comments
 (0)