Search Header Logo
Linux Crash Course for Beginners - 2023 - User Account Management

Linux Crash Course for Beginners - 2023 - User Account Management

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

This video tutorial covers the management of user accounts and file systems in Linux. It introduces key commands such as user add, group add, user delete, group delete, and usermod, explaining their usage and demonstrating them in a Linux environment. The tutorial also discusses the files where user information is stored, such as /etc/passwd, /etc/group, and /etc/shadow, and provides a comprehensive example of creating a user with all parameters. The session concludes with a focus on setting user passwords and the importance of root access.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a new user in Linux?

userdel

usermod

groupadd

useradd

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'groupadd' command?

To modify a group

To create a new group

To delete a group

To list all groups

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you verify if a user has been successfully created?

Using the 'ls' command

Checking the /etc/passwd file

Using the 'id' command

Checking the /etc/shadow file

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to delete a user along with their home directory?

userdel -r

usermod -d

groupdel -r

useradd -d

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'usermod' command do?

Lists all users

Modifies a user account

Deletes a user

Creates a new user

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you add a user to a supplementary group?

userdel -G

groupadd -G

useradd -G

usermod -G

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file contains encrypted user passwords?

/etc/shells

/etc/passwd

/etc/group

/etc/shadow

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?