Set a Password Policy with chage

easy 10 XP ~4 minHands-on lab

omar is a contractor. The security policy for contractor accounts:

Task

  • The password must be changed at least every 120 days.
  • After a change, it cannot be changed again for 1 day.
  • Warn 14 days before the password expires.
  • The whole account expires on 2027-03-31.

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.

TerminalNot started

Your machine is ready to start

Create a free account to open a machine and get graded.