Linux Fundamentals - Creating Users Using the useradd Command

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is required to create new users in an Ubuntu Docker container?
Guest access
Regular user access
Root access
Admin access
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command allows you to create a new user with a custom home directory?
useradd
userdel
adduser
usermod
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you try to log in as a new user without setting a password?
You will be denied access
You will be prompted to set a password
You can log in without a password
The system will crash
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option with 'useradd' automatically creates a home directory for the new user?
-d
-u
-h
-m
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'userdel -r' command do?
Changes the user's password
Only removes the user's home directory
Removes a user but keeps their home directory
Removes a user and their home directory
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default shell for new users created with 'useradd'?
/bin/ch
/bin/sh
/bin/zsh
/bin/bash
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you change the default shell for new users in the configuration file?
By using the 'chsh' command
By modifying /etc/default/useradd
By running 'useradd -s'
By editing /etc/passwd
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Linux Fundamentals - Enabling Secure Shell (SSH) on the Linux Server

Interactive video
•
University
5 questions
Linux Administration Bootcamp: Go from Beginner to Advanced - Managing Users and Groups - Part 1

Interactive video
•
University
8 questions
Active Directory with Windows Server 2016 - Using PowerShell

Interactive video
•
University
6 questions
Practical Linux Command Line 2.0 - Linux File System Overview

Interactive video
•
University
8 questions
CompTIA A+ Certification Core 2 (220-1102) - Why Windows?

Interactive video
•
University
6 questions
AZ-204 Developing for Microsoft Azure Exam Prep - Registering an Application with Azure Active Directory (AD)

Interactive video
•
University
8 questions
Apache Maven Beginner to Guru - Introduction to Maven Settings

Interactive video
•
University
8 questions
ASP.NET 6.0 - Build Hands-On Web Projects - Inspect the wwwroot

Interactive video
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University