https://github.com/kicksecure/dist-base-files
base files for distributions - several important miscellaneous files, such as /etc/hostname, /etc/hosts, /var/lib/dbus/machine-id and more
https://github.com/kicksecure/dist-base-files
base-files linux-derivative linux-distribution
Last synced: 8 months ago
JSON representation
base files for distributions - several important miscellaneous files, such as /etc/hostname, /etc/hosts, /var/lib/dbus/machine-id and more
- Host: GitHub
- URL: https://github.com/kicksecure/dist-base-files
- Owner: Kicksecure
- License: other
- Created: 2014-05-31T15:11:21.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-04-13T12:00:32.000Z (about 2 years ago)
- Last Synced: 2024-04-14T01:15:32.978Z (about 2 years ago)
- Topics: base-files, linux-derivative, linux-distribution
- Language: Shell
- Homepage: https://www.kicksecure.com/wiki/imprint
- Size: 963 KB
- Stars: 9
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.upstream
- Contributing: CONTRIBUTING.md
- License: COPYING
Awesome Lists containing this project
README
# base files for distributions #
Grub config for more organized boot menu.
"Normal" boot options are on top.
"Advanced" boot options (for older kernel versions) have been moved to the
bottom.
Creates user `user` with empty password (passwordless) (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.
Creates system groups:
* console
* ssh
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`
Provides common files for derivative GRUB themes.
This package gets installed by default in both, Kicksecure and Whonix.
## How to install `dist-base-files` using apt-get ##
1\. Download the APT Signing Key.
```
wget https://www.kicksecure.com/keys/derivative.asc
```
Users can [check the Signing Key](https://www.kicksecure.com/wiki/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 trixie 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
```
## How to Build deb Package from Source Code ##
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](https://www.kicksecure.com/wiki/Dev/Build_Documentation/generic-package/easy), _OR_
* **B)** [including verifying software signatures](https://www.kicksecure.com/wiki/Dev/Build_Documentation/generic-package)
## Contact ##
* [Free Forum Support](https://forums.kicksecure.com)
* [Premium Support](https://www.kicksecure.com/wiki/Premium_Support)
## Donate ##
`dist-base-files` requires [donations](https://www.kicksecure.com/wiki/Donate) to stay alive!