Bird
0
0

You want to ensure only specific users can access a sensitive directory. Which approach best secures it?

hard📝 Application Q8 of 15
Linux CLI - Users and Groups
You want to ensure only specific users can access a sensitive directory. Which approach best secures it?
ASet directory ownership to a group and add only allowed users to that group
BMake the directory world-readable
CDelete all users except the admin
DUse the same password for all users
Step-by-Step Solution
Solution:
  1. Step 1: Understand group-based permissions

    Assigning directory ownership to a group lets you control access by group membership.
  2. Step 2: Add only allowed users to the group

    This restricts access to only those users in the group.
  3. Final Answer:

    Set directory ownership to a group and add only allowed users to that group -> Option A
  4. Quick Check:

    Group ownership controls access = A [OK]
Quick Trick: Use groups to control directory access [OK]
Common Mistakes:
MISTAKES
  • Making directory world-readable
  • Deleting users unnecessarily
  • Sharing passwords weakens security

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes