Courseiva
File Sharing and SambaeasyMultiple ChoiceObjective-mapped

LPIC-2 File Sharing and Samba Practice Question

An administrator configures a Samba share with guest access. After testing, guests are prompted for a password. Which directive should be added to the [global] section to allow guest access without a password?

⚠ Common exam trap

Many candidates confuse 'guest account = nobody' with enabling guest access, but it only defines the Unix account used for guest operations, not the mechanism to bypass password prompts.

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

map to guest = Bad User

The 'map to guest = Bad User' directive in the [global] section tells Samba to automatically map any login attempt with an invalid username to the guest account, bypassing password authentication. This is the correct setting to allow guest access without a password prompt, as it treats unknown users as guests.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • guest account = nobody

    Why it's wrong here

    Incorrect; defines the guest account but does not enable guest access.

  • map to guest = Bad User

    Why this is correct

    Correct; maps unknown users to guest, enabling password-less guest access.

  • security = user

    Why it's wrong here

    Incorrect; this is the default mode and requires authentication.

  • encrypt passwords = yes

    Why it's wrong here

    Incorrect; this enables encrypted password negotiation, not guest access.

About these practice questions

This LPIC-2 question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.