Creates user user
with password changeme
(not in Qubes).
That is if user user
is not existing yet.
And if it does create user user
it also locks the root account.
Therefore root account locking effectively only happens in new
builds not having user user
already created.
Adds user user
to groups cdrom
, audio
, dip
, sudo
, plugdev
.
Ships a systemd unit file dist-skel-first-boot.service
which runs /usr/libexec/helper-scripts/first-boot-skel
(part of helper-scripts) package.
Simplifies sudo default lecture to only showing the default password once.
Creates version file /var/lib/dist-base-files/build_version
.
Default shell: Sets default shell for user user
to zsh
.
(Unless file /etc/no-shell-change
exists.)
debian/dist-base-files.postinst
This package gets installed by default in both, Kicksecure and Whonix.
1. Download the APT Signing Key.
wget https://www.kicksecure.com/keys/derivative.asc
Users can check the Signing Key for better security.
2. Add the APT Signing Key.
sudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc
3. Add the derivative repository.
echo "deb [signed-by=/usr/share/keyrings/derivative.asc] https://deb.kicksecure.com bookworm main contrib non-free" | sudo tee /etc/apt/sources.list.d/derivative.list
4. Update your package lists.
sudo apt-get update
5. Install dist-base-files
.
sudo apt-get install dist-base-files
Can be build using standard Debian package build tools such as:
dpkg-buildpackage -b
See instructions.
NOTE: Replace generic-package
with the actual name of this package dist-base-files
.
- A) easy, OR
- B) including verifying software signatures
dist-base-files
requires donations to stay alive!