43/91
Sign inSign up free

725. Two Accounts That Shouldn't Exist Like This

medium 20 XP ~8 minHands-on lab

A compliance scan of this server reports two critical findings in the account database:

  • an account other than root with UID 0,
  • an account with an empty password (anyone can log in as it without a password).

Task

  • Write the names of the offending accounts to /home/student/findings.txt, as uid0: <name> and nopass: <name> (one line each).
  • Delete the extra UID 0 account (its home directory may stay).
  • Lock the account with the empty password and set its shell to /usr/sbin/nologin.
  • root and every other account must keep working as they are.

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.