Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Logical Operations Exam CFR-210 Topic 4 Question 36 Discussion

Actual exam question for Logical Operations's CFR-210 exam
Question #: 36
Topic #: 4
[All CFR-210 Questions]

A file is discovered in the /etc directory of an internal server by an automated file integrity checker. A security analyst determines the file is a bash script. The contents are as follows:

---

#/bin/bash

IFS=:

[[-f/etc/passwd]] && cat/etc/passwd |

while read a b c d e f g

do

echo ''$e ($a)''

done

---

Which of the following was the author of the script attempting to gather?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Hubert
13 days ago
I believe the correct answer is A) Home directory and shell, as the script is reading /etc/passwd file.
upvoted 0 times
...
Jina
14 days ago
I agree with Azzie, the script seems to be echoing the user's name and username.
upvoted 0 times
...
Azzie
15 days ago
I think the author was trying to gather user's name and username.
upvoted 0 times
...

Save Cancel