[ norboten ]
intro · lab hello

A Message You Are Not Allowed to Read

· about 5 minutes · runs on alpine, ubuntu-26.04, rocky-10 · unrated

An unrated lab. It runs on your machine with no account and no network, and everything about it — the faults, the checks, the hints and the reference solution — is in the repository. An attempt on it is recorded on your profile and never moves a rating: only rated labs do. Rated and unrated labs.

The briefing

Welcome to Norboten. This machine is yours: break it, fix it, reset it.

Someone left a message for everyone who logs in, in /srv/hello/message.txt. When you try to read it, you are refused.

  1. Make the message readable by every user on the system — not just you.
  2. The message ends with a secret word. Put that word, alone, in a file called reply.txt in your home directory.

When you think you are done, press c on this lab's screen. It grades the machine, reboots it, and grades it again. Stuck? Select a check and press h.

What is graded

The machine is checked, rebooted, and checked again. A check passes only if it passes both times.

CheckObjective
01_message_readableRead file permissions and use sudo
02_reply_writtenCreate a file with given contents

Start it

  1. 2Labs
  2. helloselect this one
  3. udownload it
  4. sstart the machine

Reading

Where the lab's hints send you, level by level, as you ask for them (h, then l opens a journal section in the TUI).

Theory for this lab

3 questions on the same topic, in the lab's Theory tab. They never affect the lab's grade. Here they are, to answer in place:

Question 1

A file has mode 0600 and belongs to root. Who can read it?

Question 2

Which command adds read permission for "others" and leaves every other bit alone?

Question 3

As an ordinary user with sudo rights, which commands let you read a file only root can read?