Linux Fundamentals - Creating a New User Using the adduser Command

Linux Fundamentals - Creating a New User Using the adduser Command

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial covers user management in Linux, focusing on creating new users and groups using the 'add user' command. It explains the process of setting up a new user, including assigning a password and verifying the creation by checking the home directory and file permissions. The tutorial also highlights the differences between 'add user' and 'user add' commands, particularly in setting default shells. Finally, it demonstrates logging in as the new user and interacting with the system, setting the stage for a discussion on file permissions in the next lecture.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to add a new user in Linux?

useradd

adduser

newuser

createuser

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is automatically created when a new user is added in Linux?

A new shell

A new group with the same name as the user

A new email account

A new password

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a parameter you can set when creating a new user?

Room number

Work phone

Full name

Email address

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

sh

bash

zsh

csh

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you verify the creation of a new user in Linux?

By checking the system logs

By restarting the system

By checking the network settings

By listing the contents of the home directory

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to switch to a newly created user in Linux?

switchuser

login

su

changeuser

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'su -' command do when logging in as a new user?

It logs in without a password

It logs in and changes the user's password

It logs in with root privileges

It logs in and switches to the user's home directory