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

LPI Exam 102-500 Topic 9 Question 96 Discussion

Actual exam question for LPI's 102-500 exam
Question #: 96
Topic #: 9
[All 102-500 Questions]

Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Crissy
2 months ago
This is a classic case of 'the simplest answer is often the best.' I'm going with A.
upvoted 0 times
Cory
9 days ago
Incorrect. The correct answer is A) find /usr -uid 0 -perm +4000
upvoted 0 times
...
Elizabeth
11 days ago
D) find /usr -ls *s* -u root
upvoted 0 times
...
Nancey
14 days ago
No, that's not correct. The answer is A.
upvoted 0 times
...
Rory
14 days ago
B) find -user root +mode +s /usr
upvoted 0 times
...
Walton
16 days ago
That's correct. A is the right answer.
upvoted 0 times
...
Glory
19 days ago
A) find /usr -uid 0 -perm +4000
upvoted 0 times
...
...
Kaycee
2 months ago
Haha, D is definitely a wild card. Finding SUID files by searching for 's' in the filename? That's a creative approach!
upvoted 0 times
Chauncey
1 months ago
E) find /usr -suid -perm +4000
upvoted 0 times
...
Graciela
1 months ago
C) find -type suid -username root -d /usr
upvoted 0 times
...
Launa
1 months ago
B) find -user root +mode +s /usr
upvoted 0 times
...
Pearly
2 months ago
A) find /usr -uid 0 -perm +4000
upvoted 0 times
...
...
Anabel
2 months ago
I'm not sure, but I think C) find -type suid -username root -d /usr might also be a valid option since it mentions the type and username.
upvoted 0 times
...
Linsey
2 months ago
Hmm, I think B is a bit off. The +mode +s doesn't seem quite right. I'd stick with A or E.
upvoted 0 times
...
Hillary
2 months ago
I'd go with E. The -suid option directly targets the SUID bit, and the -perm +4000 checks for the correct permissions.
upvoted 0 times
...
Luis
2 months ago
Option A looks the most accurate to me. The -uid 0 will find files owned by root, and the -perm +4000 will find files with the SUID bit set.
upvoted 0 times
Jenifer
1 months ago
I would go with option A as well.
upvoted 0 times
...
Alexis
1 months ago
I agree with option A, it seems the most accurate.
upvoted 0 times
...
Shawn
2 months ago
I'm not sure, I think it might be option E.
upvoted 0 times
...
Tegan
2 months ago
I think option A is correct too.
upvoted 0 times
...
...
Cammy
2 months ago
I agree with Tiffiny, A) find /usr -uid 0 -perm +4000 seems like the most logical choice based on the question.
upvoted 0 times
...
Tiffiny
3 months ago
I think the correct answer is A) find /usr -uid 0 -perm +4000 because it specifies the user and permission we are looking for.
upvoted 0 times
...

Save Cancel