Cyber Monday 2024! 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:

Anabel
3 days 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
4 days 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
5 days 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
6 days 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
...
Cammy
10 days 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
23 days 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