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
6 questions
AWS, JavaScript, React - Deploy Web Apps on the Cloud - Creating a Non-Root Account

Interactive video
•
University
8 questions
Practical Linux Command Line 2.0 - Understand File Owner and Permissions (ls -l)

Interactive video
•
University
8 questions
Active Directory with Windows Server 2016 - Configuring PSOs

Interactive video
•
University
8 questions
Active Directory with Windows Server 2016 - Configuring Authentication Policies and Silos

Interactive video
•
University
6 questions
AZ-204 Developing for Microsoft Azure Exam Prep - Updating the Structured Query Language (SQL) Database Firewall

Interactive video
•
University
6 questions
AZ-104: Microsoft Azure Administrator Full Course - RBAC Roles

Interactive video
•
University
8 questions
Linux Administration Bootcamp: Go from Beginner to Advanced - The Linux Boot Process

Interactive video
•
University
8 questions
Linux Fundamentals - Creating a New User Using the adduser Command

Interactive video
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University