Lock Down a Service Account
An audit found that the account beacon, which only runs the beacon daemon, is set up like a person's account: it can log in, has sudo rights, and its data is open to everyone. The daemon is running and must keep working.
beacon: no usable password, no interactive shell (/usr/sbin/nologin), and no SSH key that would let anyone in.beacon has no sudo rights at all./srv/beacon and everything in it belongs to beacon:beacon. Other accounts (for example student) cannot read or change anything in it./srv/beacon/out.About this machine
Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.
Teaching or writing about this? Embed this lab on your page
Your machine is ready to start
A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.
No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.