LFCSEssential CommandsEasy
Clone a shared repository as another user, commit a configuration change on a new branch with a given identity, and push the branch and an annotated tag.
Single Linux VM · ~5 min · 8 points
goldenkube start lfcs-cmd-001
LFCSEssential CommandsMedium
Create a private key and a self-signed certificate with subject alternative names, serve HTTPS with it, and read the serial number of an existing certificate.
Single Linux VM · ~7 min · 8 points
- openssl
- tls
- x509
- certificates
- nginx
goldenkube start lfcs-cmd-002
LFCSEssential CommandsMedium
Delete large old files selectively, release space held by a deleted but still open log without restarting its service, and find the service burning a CPU.
Single Linux VM · ~6 min · 7 points
- disk-space
- find
- lsof
- deleted-files
- top
- performance
goldenkube start lfcs-cmd-003
LFCSEssential CommandsMedium
A service refuses to start because of its open-file limit and running as root; fix it with a systemd drop-in, a dedicated system user and a memory cap.
Single Linux VM · ~7 min · 8 points
- systemd
- drop-in
- limits
- ulimit
- journalctl
- service-user
goldenkube start lfcs-cmd-004
LFCSNetworkingHard
Build an active-backup bond and a bridge from dummy interfaces, address the bridge with IPv4 and IPv6, add a static route and a hosts entry, all persistent.
Single Linux VM · ~9 min · 9 points
- bonding
- bridge
- ipv6
- static-route
- netplan
- systemd-networkd
- hosts
goldenkube start lfcs-net-001
LFCSNetworkingEasy
Point chrony at two internal time servers only, allow a client network to query it, enable it, and set the system time zone.
Single Linux VM · ~4 min · 6 points
- chrony
- ntp
- time
- timezone
- timedatectl
goldenkube start lfcs-net-002
LFCSNetworkingMedium
Make sshd listen on two ports with key-only logins limited to one group, then give a user a key pair and a host alias that works without prompts.
Single Linux VM · ~7 min · 8 points
- openssh
- sshd
- ssh-keys
- ssh-config
- hardening
goldenkube start lfcs-net-003
LFCSNetworkingHard
Write a persistent nftables ruleset with a default-drop input chain, a port redirect and source NAT, and track down an unexpected listener.
Single Linux VM · ~8 min · 9 points
- nftables
- firewall
- nat
- port-redirection
- ss
- troubleshooting
goldenkube start lfcs-net-004
LFCSNetworkingMedium
Publish two local backends behind one nginx virtual host with round-robin balancing, the original Host header and a status path answered by nginx itself.
Single Linux VM · ~6 min · 7 points
- nginx
- reverse-proxy
- load-balancing
- upstream
- http
goldenkube start lfcs-net-005
LFCSOperations DeploymentHard
Persist two sysctl values against a conflicting drop-in, set one runtime-only, confine a binary with AppArmor and prepare an SELinux policy rule.
Single Linux VM · ~9 min · 10 points
- sysctl
- kernel-parameters
- apparmor
- selinux
- mac
goldenkube start lfcs-ops-001
LFCSOperations DeploymentMedium
A systemd service crash-loops because of its unit file; fix it, enable it, and lower the priority of a running batch process without restarting it.
Single Linux VM · ~7 min · 8 points
- systemd
- services
- troubleshooting
- processes
- nice
goldenkube start lfcs-ops-002
LFCSOperations DeploymentEasy
Run a backup script every day at 02:30 through a systemd timer that catches up missed runs, and add a weekday cron job for another user.
Single Linux VM · ~5 min · 7 points
- systemd-timer
- cron
- scheduling
- jobs
goldenkube start lfcs-ops-003
LFCSOperations DeploymentMedium
Configure a local package repository, install and hold an exact package version, then find and restore a file that was modified after installation.
Single Linux VM · ~7 min · 8 points
- apt
- packages
- repositories
- dpkg
- verification
goldenkube start lfcs-ops-004
LFCSOperations DeploymentHard
Run nginx in a rootful podman container managed by systemd with a read-only bind mount, configure the registry search list, and define an autostarted libvirt domain.
Single Linux VM · ~8 min · 9 points
- podman
- containers
- systemd
- libvirt
- virsh
goldenkube start lfcs-ops-005
LFCSStorageMedium
Turn two block devices into a volume group, carve an ext4 and an XFS logical volume, and mount both persistently, one of them by UUID.
Single Linux VM · ~6 min · 8 points
goldenkube start lfcs-sto-001
LFCSStorageMedium
Extend a mounted logical volume and its filesystem without unmounting it, then export a directory read-only over NFS and mount the export persistently.
Single Linux VM · ~7 min · 8 points
- lvm
- lvextend
- resize2fs
- nfs
- exports
- fstab
goldenkube start lfcs-sto-002
LFCSStorageMedium
Add a persistent swap file and a size-limited tmpfs, then find the block device under constant write load and stop the service causing it.
Single Linux VM · ~6 min · 8 points
- swap
- tmpfs
- fstab
- iostat
- performance
goldenkube start lfcs-sto-003
LFCSStorageHard
Recover an ext4 filesystem whose primary superblock is destroyed, then make autofs mount it read-only on first access.
Single Linux VM · ~7 min · 8 points
- e2fsck
- superblock
- filesystem-repair
- autofs
- automount
goldenkube start lfcs-sto-004
LFCSUsers and GroupsMedium
Create a group, a user with fixed IDs, expiry and ageing, a system account, a system-wide and a personal environment variable, and per-group limits.
Single Linux VM · ~6 min · 9 points
- useradd
- groupadd
- chage
- profile
- limits
- pam-limits
goldenkube start lfcs-usr-001
LFCSUsers and GroupsHard
Set up a setgid project directory with access and default ACLs, then make the host resolve users and groups from a local LDAP server through SSSD.
Single Linux VM · ~8 min · 9 points
goldenkube start lfcs-usr-002