REST APIs with Flask and Python - Creating a UNIX User in Ubuntu 16.04

REST APIs with Flask and Python - Creating a UNIX User in Ubuntu 16.04

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains the process of creating a new user in Unix to avoid using the root user for security reasons. It covers the steps to create a user, set permissions, and configure SSH to restrict root login. The tutorial also demonstrates how to grant temporary root access to the new user and how to log in and out of the server using the new user credentials.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it recommended to create a new user instead of using the root user for regular tasks?

The root user is not available on all systems.

The root user has limited permissions.

Using the root user can lead to security risks.

The root user cannot install applications.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is created alongside a new user in Unix?

A new directory

A new application

A new group

A new file

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to modify the sudoers file to grant temporary root access?

chown

adduser

chmod

visudo

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you do after modifying the sudoers file to save changes?

Press Control + S

Press Control + O and then Enter

Press Control + Z

Press Control + C

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it important to disable root login via SSH?

To prevent unauthorized access if the root password is compromised.

To save server resources.

To allow more users to log in simultaneously.

To make the server faster.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should be done to allow a new user to connect via SSH?

Add the user to the root group.

Change the server's IP address.

Install a new SSH client.

Modify the SSHD config to allow the user.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a crucial step to ensure the security of the new user with root access?

Share the password with multiple users.

Use the same password as the root user.

Ensure the new user's password is strong.

Disable the new user after use.