Sign inSign up free

711. A Contractor's Last Day

easy 10 XP ~5 minHands-on lab

ivan is a contractor. Their contract ends on 2027-01-15, and from today they may only log in with their SSH key.

Task

  • The account expires on 2027-01-15: after that date, no login works at all (keys included).
  • Password logins are locked from today. Their password hash must be kept, so it can be unlocked later if needed.
  • Keep the account, its home directory and its shell.

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 Prepare for the LFCS. Next step: Files Owned by Nobody

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.