27/57
Sign inSign up free

10. Find Every Config That Uses a Setting

easy 10 XP ~4 minHands-on lab100% acceptance

The database host db-primary.legacy.internal is being decommissioned. Before it goes away, you need to know which service configs still point at it.

Task

  • Search everything under /srv/lab/etc (including subdirectories).
  • Write the absolute paths of all files that contain db-primary.legacy.internal to /home/student/legacy.txt, one per line, sorted alphabetically, without duplicates.
  • Lines that are commented out with # still count — the hostname is in the file.

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

TerminalNot started

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.