CompTIA Security Plus Mock Test Q1692

An administrator has configured a new Linux server with the FTP service. Upon verifying that the service was configured correctly, the administrator has several users test the FTP service. Users report that they are able to connect to the FTP service and download their personal files, however, they cannot transfer new files to the server. Which of the following will most likely fix the uploading issue for the users?

A. Create an ACL to allow the FTP service write access to user directories
B. Set the Boolean selinux value to allow FTP home directory uploads
C. Reconfigure the ftp daemon to operate without utilizing the PSAV mode
D. Configure the FTP daemon to utilize PAM authentication pass through user permissions

Correct Answer: A
Section: Mixed Questions

CompTIA Security Plus Mock Test Q1574

An administrator is hardening systems and wants to disable unnecessary services. One Linux server hosts files used by a Windows web server on another machine. The Linux server is only used for secure file transfer, but requires a share for the Windows web server as well. The administrator sees the following output from a netstat -1p command:

1574

Which of the following processes can the administrator kill without risking impact to the purpose and function of the Linux or Windows servers? (Select Three)

A. 1488
B. 1680
C. 2120
D. 2121
E. 2680
F. 8217


Correct Answer: A,D,F
Section: Mixed Questions

CompTIA Security Plus Mock Test Q1001

A file on a Linux server has default permissions of rw-rw-r–. The system administrator has verified that Ann, a user, is not a member of the group owner of the file. Which of the following should be modified to assure that Ann has read access to the file?

A. User ownership information for the file in question
B. Directory permissions on the parent directory of the file in question
C. Group memberships for the group owner of the file in question
D. The file system access control list (FACL) for the file in question

Correct Answer: C
Section: Access Control and Identity Management

Explanation:
The file permissions according to the file system access control list (FACL) are rw-rw-r–.
The first ‘rw-‘ are the file owner permissions (read and write).
The second ‘rw-‘ are the group permissions (read and write) for the group that has been assigned the file.
The third ‘r–‘ is the All Users permissions; in this case read only.
To enable Ann to access the file, we should add Ann to the group that has been assigned to the file.

Incorrect Answers:
A: You should not modify the ownership of the file to give another user access to the file. Therefore, this answer is incorrect.
B: Ann only needs to access the file, not the entire directory so you should not modify the permissions of the directory. Therefore, this answer is incorrect.
C: You should not modify Group memberships for the group owner of the file to give another user access to the file. Therefore, this answer is incorrect.

References:
https://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions
Topic 6, Cryptography