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
traineewith its matching private group. - Create
/home/trainee. - Use
/bin/bashas the login shell. - Add
traineeto the existingdevelopersgroup. - Do not change the
labexaccount.
Your Goal
Leave one usable trainee account with a home directory, a Bash shell, and supplementary access through developers.
Acceptance Criteria
traineeexists and its primary group istrainee./home/traineeexists and belongs totrainee:trainee.- The login shell is
/bin/bash. id traineeincludesdevelopers.
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.



