Signal9Signal9 — home
online
back to labs

Dojo: Provision a Service Account in One Line

EasyOne-Liner Dojo5 min
The brief

Stand up a service account in a single command: a user named 'deploy', with home directory /srv/deploy (created), and login shell /bin/bash.

All three must be true at once. Beginners reach for useradd, then mkdir, then usermod — three commands. The Dojo wants it in ONE. Find the flags that do it all in a single useradd invocation.

What you'll do
  • Create user 'deploy' with home /srv/deploy (created) and shell /bin/bash — in one line

Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.