Linux Tip: How to add and delete user accounts

Linux Tip: How to add and delete user accounts

Assessment

Interactive Video

Architecture, Information Technology (IT)

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial provides a brief overview of the adduser and deluser commands in Linux. It explains how to add a new user, including setting up a home directory, assigning a user ID, and customizing settings. The tutorial also covers how to delete a user account using the deluser command, with options to remove the home directory.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of the adduser and deluser commands in Linux?

To install software packages

To configure system hardware

To add and delete user accounts

To manage network settings

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is required to execute the adduser command successfully?

A graphical interface

Superuser privileges

A specific software package

Network access

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using the adduser command, what is the default shell assigned to a new user?

Tcsh

Fish

Zsh

Bash

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens by default when you use the deluser command without additional options?

The user account and home directory are removed

Only the user account is removed

The user account is disabled but not removed

The user account is archived

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option should be added to the deluser command to remove the home directory as well?

--erase-home

--remove-home

--delete-home

--purge-home