Linux Administration Bootcamp: Go from Beginner to Advanced - Switching Users and Running Commands as Others

Linux Administration Bootcamp: Go from Beginner to Advanced - Switching Users and Running Commands as Others

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains how to run commands and programs as other users using the DU, SU, and sudo commands. It covers the use of environment variables, the differences between SU and sudo, and how to configure sudo permissions using the sudoers file. The tutorial also highlights the advantages of using sudo over SU, such as not needing the other user's password, and provides examples of switching users and executing commands with elevated privileges.

Read more

7 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What command is used to start a session as another user on the system?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What does the command 'who am I' return?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the purpose of the 'sudo' command?

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

How can you see the commands available for you to run with 'sudo'?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

How do you switch to the root account using 'sudo'?

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

What command do you use to edit the 'sudoers' file?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the significance of the 'sudoers' file?

Evaluate responses using AI:

OFF