Chapter 14, Linux Ess. Ch 12, Linux Final, Linux, 211 FINAL, DCOm 142 Linux
Final Study ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS
Which of the following programs enable root to set the B and D
ownership of files? (Select all that apply.)
A. chmod
B. chown
C. usermod
D. Nautilus
E. touch
Which of the following options to chown changes the A ( recursive also correct but needs 2 dashes)
ownership of all the subdirectories of any specified
directories, rather than just the files or directories that are
explicitly passed to it?
A. -R
B. --tree
C. -recursive
D. -all
E. -t
, Mary finds that she can delete George's files in /tmp. D - sticky bit missing
What might this imply?
A. This is normal; all users should be able to delete files
from /tmp.
B. The SUID bit is present on /tmp; it should be removed.
C. World write permissions are set on /tmp; they should
be removed.
D. The sticky bit is missing from /tmp; it should be set.
E. The /tmp partition is mounted read-only; it should be
mounted read/write.
What does the permission string -rwxrwx--- mean? C
A. The file's owner may read, write, and execute the file,
but nobody else may access it.
B. The file is a directory. The directory's owner and
members of its group may read, write, and search it, but
other users have no access to it.
C. The file's owner and members of its group may both
read, write, and execute the file, but other users have no
access to it.
D. All users of the computer may read, write, and execute
the file.
E. The file is a directory. All users of the computer may
read, write, and search the directory.
True or false: Setting the SUID bit on a program file that's True
owned by root causes it to execute with root privileges
no matter who runs it.
True or false: A file with permissions of crw-rw-r-- is a true
character device file.
True or false: Using chmod, you can add world execute true
permission to a file without modifying any of the file's
other permissions.
True or false: Including the file type code, symbolic links True
always have permissions of lrwxrwxrwx.
The command _______ :users somefile.txt changes the group chown
affiliation of somefile.txt to users.
A file has a symbolic mode of -rw-r-----. The file's octal 640
mode is ____ _.
Final Study ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS
Which of the following programs enable root to set the B and D
ownership of files? (Select all that apply.)
A. chmod
B. chown
C. usermod
D. Nautilus
E. touch
Which of the following options to chown changes the A ( recursive also correct but needs 2 dashes)
ownership of all the subdirectories of any specified
directories, rather than just the files or directories that are
explicitly passed to it?
A. -R
B. --tree
C. -recursive
D. -all
E. -t
, Mary finds that she can delete George's files in /tmp. D - sticky bit missing
What might this imply?
A. This is normal; all users should be able to delete files
from /tmp.
B. The SUID bit is present on /tmp; it should be removed.
C. World write permissions are set on /tmp; they should
be removed.
D. The sticky bit is missing from /tmp; it should be set.
E. The /tmp partition is mounted read-only; it should be
mounted read/write.
What does the permission string -rwxrwx--- mean? C
A. The file's owner may read, write, and execute the file,
but nobody else may access it.
B. The file is a directory. The directory's owner and
members of its group may read, write, and search it, but
other users have no access to it.
C. The file's owner and members of its group may both
read, write, and execute the file, but other users have no
access to it.
D. All users of the computer may read, write, and execute
the file.
E. The file is a directory. All users of the computer may
read, write, and search the directory.
True or false: Setting the SUID bit on a program file that's True
owned by root causes it to execute with root privileges
no matter who runs it.
True or false: A file with permissions of crw-rw-r-- is a true
character device file.
True or false: Using chmod, you can add world execute true
permission to a file without modifying any of the file's
other permissions.
True or false: Including the file type code, symbolic links True
always have permissions of lrwxrwxrwx.
The command _______ :users somefile.txt changes the group chown
affiliation of somefile.txt to users.
A file has a symbolic mode of -rw-r-----. The file's octal 640
mode is ____ _.