Onboard a Practice User

LinuxBeginner
Practice Now

Introduction

A new team member needs a normal local account before using a shared development area. The account should have a home directory, a Bash login shell, and membership in the existing developers group.

The preceding guided lab practiced this exact account-creation and supplementary-group workflow. This challenge applies it to one user only.

Onboard the User

Current Situation

The supplementary group developers already exists. The user trainee does not exist yet.

Scope

  • Create the user trainee with its matching private group.
  • Create /home/trainee.
  • Use /bin/bash as the login shell.
  • Add trainee to the existing developers group.
  • Do not change the labex account.

Your Goal

Leave one usable trainee account with a home directory, a Bash shell, and supplementary access through developers.

Acceptance Criteria

  • trainee exists and its primary group is trainee.
  • /home/trainee exists and belongs to trainee:trainee.
  • The login shell is /bin/bash.
  • id trainee includes developers.

Hints

Which creation pattern did the guided lab use?

Review the useradd example that created a home, a matching private group, and selected Bash. Then use the supplementary-group command from the next step.

Summary

You onboarded one Linux user with the same account and group-management commands introduced in the guided lab.

✨ Check Solution and Practice