LPIC-2 File Sharing and Samba Practice Question
A Samba share requires that users must provide valid credentials, but the share should be accessible to any authenticated user without further restrictions. Which security mode should be used?
⚠ Common exam trap
A common mix-up: candidates confuse 'authentication' with 'authorization' and assume `security = share` is correct because it sounds like 'sharing without restrictions,' but `security = share` actually bypasses user-level authentication entirely.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
security = user
The `security = user` mode requires each user to provide valid credentials (username and password) to access the share, but once authenticated, the share is accessible without further per-share restrictions. This matches the requirement exactly: authentication is mandatory, but authorization is not granularly controlled per share beyond the user's identity.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
security = domain
Why it's wrong here
This is for authenticating against a domain controller.
- ✗
security = server
Why it's wrong here
This is an older method for authenticating against another SMB server.
- ✗
security = share
Why it's wrong here
This deprecated mode may allow anonymous access.
- ✓
security = user
Why this is correct
This requires valid credentials for each connection.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LPIC-2 question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-2 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-2 exam.