F3 Linux User Management Quiz

F3 Linux User Management Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

Praktek UAS SO

Praktek UAS SO

University - Professional Development

15 Qs

Linux M1

Linux M1

9th - 12th Grade

10 Qs

Yoeurn Tara

Yoeurn Tara

University

10 Qs

Java Basics 1

Java Basics 1

University

10 Qs

UNIX Commands

UNIX Commands

University

10 Qs

F2 User Access and Permissions Quiz

F2 User Access and Permissions Quiz

12th Grade - University

15 Qs

linux commands

linux commands

University

20 Qs

J277 Operating Systems

J277 Operating Systems

10th - 12th Grade

15 Qs

F3 Linux User Management Quiz

F3 Linux User Management Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Grit and Motivation

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to set a password for a user account in Linux?

`sudo passwd -u username`

`sudo userpasswd username`

`sudo passset username`

`sudo usermod -p password username`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command allows a user to switch to a different user and execute a command as that user?

`sudo`

`su -`

`pkexec`

`visudo`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the "sudo" command in Linux?

To switch to a different user

To run a command as a different user with administrative privileges

To edit the sudoers file

To check file syntax using visudo

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is the "sudoers" file located in a Linux system?

`/etc/sudoers`

`/etc/sudo`

`/etc/visudo`

`/etc/sysconfig/sudoers`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to open and edit the "sudoers" file?

`visudo`

`sudoedit`

`nano /etc/sudoers`

`editsudoers`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid use of the "PolicyKit" (PolKit) utility in Linux?

To switch between users

To manage who can perform operations requiring administrative privileges

To edit the sudoers file

To check file syntax using visudo

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is commonly used with PolicyKit to execute a program as another user?

`su -`

`pkexec`

`sudoedit`

`polkitexec`

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?