Verify a Release Folder Against Its Manifest
Each release folder contains a MANIFEST file in sha256sum format (<hash> <relative/path>). sha256sum -c checks the listed files but says nothing about files that shouldn't be there. Write /home/student/bin/verify.sh DIR.
Print one line per file, sorted by path:
OK <path>: listed, present, checksum matches,FAILED <path>: listed, present, checksum differs,MISSING <path>: listed, not present,EXTRA <path>: present under DIR (any depth) but not listed (ignore MANIFEST itself).Paths are relative to DIR, as in the manifest. Exit 0 when everything is OK, else 1. If DIR/MANIFEST doesn't exist, print an error to stderr and exit 2.
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.