Search Header Logo

F3 Linux User Management Quiz

Authored by Joe Cusack

Computers

12th Grade

F3 Linux User Management Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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`

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?