The command to change the ownership of a file in a text-mode manner is _______.
Sec. 12: Managing File Ownership and Permission

Quiz
•
Instructional Technology
•
University
•
Hard

Renato Biz Martins
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
chnguser
chown
transferown
Answer explanation
The chown command is used to change the ownership of a file.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ls command:
lists the files in a directory
shows the current owner of a file
lists all the users using a file
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The permission string rwxrwxrwx means
Read permission for the owner, no permission for anybody else.
Read, write, and execute permissions for all users.
Read and write permissions for the owner. Read-only permission for all others.
Answer explanation
The rwxrwxrwx is equivalent to 777. This allows for read, write, and execute permission for the user, the user’s group, and all other users on the system.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which permission string will be represented by this type of permission: “Read and write permission for the user. The user's group and all other users should only be able to read the file.”
rw-r—r—
r––––––––
rwxrwxrwx
Answer explanation
The rw-r--r-- is equivalent to 644. This allows for read and write permission for the user, and only read permissions for the user’s group and all other users on the system.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The sticky bit can be set with the chown command in either of two ways:
Kernel and Daemon
Octal Code and Symbolic Code
Parse and Compile
Answer explanation
The sticky bit can be set using the octal code of the symbolic code.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Users can change anyone’s password on the system using the “sudo passwd username” command.
True
False
Answer explanation
The passwd command is used to change a user’s password. If you execute it as root (using sudo), then you can change anyone’s password on the system.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The SUID option tells Linux to run the program with the permissions of whoever owns the file rather than with the permissions of the user who runs the program.
True
False
Answer explanation
True, the SUID option tells Linux to run the program with the permissions of whoever owns the file rather than with the permissions of the user who runs the program.
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
ITEC100 QUIZ 2 AKJHG11AA

Quiz
•
University
10 questions
Workshop Technology: Benchwork

Quiz
•
7th Grade - University
13 questions
Copyright Quiz W22

Quiz
•
University
10 questions
Linux Quizz

Quiz
•
University
10 questions
Pre Test Modul 3 Kelas C

Quiz
•
University
10 questions
Professional Opportunities with Linux

Quiz
•
University
10 questions
MS Word Quiz | It Course

Quiz
•
University
10 questions
MS Teams

Quiz
•
4th Grade - Professio...
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