AWS, JavaScript, React - Deploy Web Apps on the Cloud
 - Creating a Non-Root Account

AWS, JavaScript, React - Deploy Web Apps on the Cloud - Creating a Non-Root Account

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

In this tutorial, we learn how to create a non-root user account named Bob and grant it superuser privileges by adding it to the sudo group. The process involves using the 'add user' command, setting a password, and verifying the user's creation in the system. We then confirm Bob's membership in the sudo group, allowing administrative command execution. The lesson concludes with a preview of securing the Bob account with SSH key authentication in the next session.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to create a new user account in the system?

adduser

useradd

newuser

createuser

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you do if you are prompted for additional user information during account creation?

Restart the process

Press Enter to skip

Type 'N' to cancel

Fill in all the details

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you confirm that a new user has been successfully added to the system?

By logging in as the new user

By restarting the system

By listing all users

By checking the system logs

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to add a user to the sudo group?

addgroup sudo

sudoadd user

usermod -aG sudo

groupadd sudo

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command can you use to verify a user's group memberships?

groups

showgroups

checkgroups

listgroups