The Complete Practical Docker Guide - Creating New User Using adduser Command

The Complete Practical Docker Guide - Creating New User Using adduser Command

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains how to manage users and groups in Linux using commands like 'add user'. It covers creating a new user, setting up a password, and configuring user details. The tutorial also discusses verifying user creation, understanding file permissions, and the differences between 'add user' and 'user add' commands. Additionally, it shows how to log in as a new user and create files with appropriate permissions.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is automatically created when a new user is added in Linux using the 'add user' command?

A backup of the system

A new shell script

A group with the same name as the user

A new directory in /var

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a prompt during the interactive 'add user' command process?

Providing a full name

Entering the user's email

Specifying a room number

Setting a password

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of access does the new user have to their home directory files?

Read, write, and execute

Read and write only

Read only

No access

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default shell set for a user created with the 'add user' command?

tcsh

zsh

bash

sh

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can the default shell for new users be changed when using the 'add user' command?

By modifying the /etc/passwd file

By using the 'useradd' command

By editing the adduser.conf file

By changing the user's home directory

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to verify the details of a newly created user?

ls -l /home

echo $USER

cat /etc/passwd

grep /etc/shadow

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command option allows you to log in as a specific user?

-u

-l

--login

-s