exam questions

Exam 101-400 All Questions

View all questions & answers for the 101-400 exam

Exam 101-400 topic 4 question 29 discussion

Actual exam question from LPI's 101-400
Question #: 29
Topic #: 4
[All 101-400 Questions]

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?

  • A. The command is SetUID and it will be executed with the effective rights of the owner.
  • B. The command will be executed with the effective rights of the group instead of the owner.
  • C. The execute flag is not set for the owner. Therefore the SetUID flag is ignored.
  • D. The command will be executed with the effective rights of the owner and group.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nathanino
2 years, 10 months ago
The right answer is A: The command is SetUID and it will be executed with the effective rights of the owner. The EFFECTIVE rights (which in this case are euqal to none, but nevertheless). the SetUID is NOT ignored
upvoted 1 times
...
DenisZ
3 years, 8 months ago
When the setuid bit is used an executable is not run with the privileges of the user who launched it, but with that of the file owner instead. Correct Answer: A
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago