PrepAway - Latest Free Exam Questions & Answers

Which command should Maria use to ensure that her perl script would execute?

Maria installed a perl script in the SGI-bin directory of her apache server. She accesses
the script via a web browser but the script does not execute. Maria executes the command
LS-AL on the SGI-bin directory and notices that the permissions of the files are 700.
Which command should Maria use to ensure that her perl script would execute?

PrepAway - Latest Free Exam Questions & Answers

A.
Chage 711.

B.
Chmod 100.

C.
Chmod 711.

D.
Chage 700.

Explanation:
7 in the first position is Read/Write/Execute for the file owner. A 1 in the second
and third position provides execute permission, and Maria needs execute permission
to execute the CGI scripts.
Incorrect Answers:
A: Change Age set password aging for security, and this is not a password or aging issue.
B: Chmod 100 will remove permissions so that only the owner can execute the scripts,and no one
else. This does not open up the CGI scripts for users to execute, and hasinhibited the owner of the
file from reading and writing these files.
D: Change Age is not an issue here; this is not a password problem.


Leave a Reply