Sign inSign up free

1415. Combined: The Environment File Nobody Can Read Right

medium 20 XP ~10 minHands-on lab

syncd takes its settings from /etc/default/syncd, an environment file that sudo syncd-start loads before starting the server as the user syncd. The file was prepared on a laptop and copied in. Since then, the service won't start; see /var/log/syncd.log.

Task

  • curl -s localhost:27384 answers syncd mode=production.
  • The server runs as the user syncd.
  • /etc/default/syncd holds a secret: users other than its owner and group must not be able to read it.

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.

Part of Linux Incidents, Two Faults at a Time. Next step: Combined: The App Can't Reach Its Database

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.