1.

To check if the data directory contains insecure files or directories, the command executed is _____________(a) ls -l(b) ls -a(c) ls -la(d) ls -luThis question was posed to me during a job interview.The above asked question is from Internal Security: Preventing Unauthorized Filesystem Access in chapter Access Control and Security of MySQL

Answer»

The CORRECT ANSWER is (c) ls -la

Explanation: It can be determined whether the data directory contains INSECURE files or directories by executing ‘ls -la’. Then the lookup for files or directories that have the “group” or “other” permissions TURNED on.



Discussion

No Comment Found

Related InterviewSolutions