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
16 questions
WLUG Linux CS quiz

Quiz
•
University
15 questions
Chapter 6 - Unix II

Quiz
•
University
15 questions
CYBER ADDA

Quiz
•
University
15 questions
J277 Operating Systems

Quiz
•
10th - 12th Grade
15 questions
F2 User Access and Permissions Quiz

Quiz
•
12th Grade - University
10 questions
Linux M1

Quiz
•
9th - 12th Grade
12 questions
Basic Linux Commands Part 1

Quiz
•
9th - 12th Grade
10 questions
The Windows Command Line Interface

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade