exam questions

Exam LX0-103 All Questions

View all questions & answers for the LX0-103 exam

Exam LX0-103 topic 4 question 26 discussion

Actual exam question from CompTIA's LX0-103
Question #: 26
Topic #: 4
[All LX0-103 Questions]

Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)

  • A. chmod +s /tmp
  • B. chmod +t /tmp
  • C. chmod 1775 /tmp
  • D. chmod 4775 /tmp
  • E. chmod 2775 /tmp
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
linux_admin
2 years, 2 months ago
The correct answers are B and C: B. chmod +t /tmp (sets the sticky bit) C. chmod 1775 /tmp (sets the sticky bit and the directory permissions to rwxrwxr-t) A. chmod +s /tmp (sets the setuid bit, not the sticky bit) D. chmod 4775 /tmp (sets the setuid bit, not the sticky bit, and also grants the permissions rwsrwxr-x, which may not be desired for /tmp) E. chmod 2775 /tmp (sets the setgid bit, not the sticky bit)
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