Which command is used to set a password for a user account in Linux?
F3 Linux User Management Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Grit and Motivation
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
`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
Similar Resources on Quizizz
20 questions
PARC Linux Basic Part 2

Quiz
•
University
15 questions
F2 User Access and Permissions Quiz

Quiz
•
12th Grade - University
18 questions
Comandos y privilegios de linux

Quiz
•
12th Grade
15 questions
Chapter 6 - Unix II

Quiz
•
University
15 questions
Linux Essentials

Quiz
•
University
12 questions
Linux Commands Review Week 6

Quiz
•
University
20 questions
DBMS Introduction Quiz 1

Quiz
•
University
14 questions
Linux: Users and Groups

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University