Lion Cipher Lab
Manage Linux services with systemd
- Cyber / Security Engineer
- Beginner
- ~25 min
- Free · no account required
Why it matters
On almost every modern Linux system, the background programs that do the work — the SSH server you log in through, a firewall's helper, a web server, fail2ban — run as services managed by systemd. If you cannot start, stop, enable, and inspect a service, you cannot really administer or defend a Linux box, and a surprising number of security labs assume you already can. There is a defensive payoff too: every service left running and set to start at boot is part of your attack surface. Learning to list what is on, and switch off what you do not need, is one of the cheapest, most durable…
What you'll learn
- systemd
- systemctl
- enabling services at boot
- reading service logs with journalctl
- attack-surface awareness
Steps in this lab
- What systemd is, and what a service means
- Check a service's status
- Start, stop, and restart a service
- Enable or disable a service at boot
- List what is actually running
- Read a service's logs with journalctl
- Attack-surface awareness: turn off what you do not need
- Why this small skill carries so far