nerdexam
LPI

300-300 · Question #122

FILL BLANK Which command adds an existing Linux user to the Samba password database when using local authentication? (Specify ONLY the command without any path or parameters.) Answer: smbpasswd

The correct answer is A. smbpasswd. smbpasswd is the correct answer because it is the dedicated Samba utility for adding and managing user entries in the Samba password database (/etc/samba/smbpasswd or the TDB backend), enabling local authentication for SMB/CIFS shares. The Linux system account must already…

300.8 Authentication and Authorization

Question

FILL BLANK Which command adds an existing Linux user to the Samba password database when using local authentication? (Specify ONLY the command without any path or parameters.) Answer: smbpasswd

Options

  • Asmbpasswd

How the community answered

(36 responses)
  • A
    100% (36)

Explanation

smbpasswd is the correct answer because it is the dedicated Samba utility for adding and managing user entries in the Samba password database (/etc/samba/smbpasswd or the TDB backend), enabling local authentication for SMB/CIFS shares. The Linux system account must already exist before running smbpasswd -a <username>, which is exactly the scenario the question describes. Since this is a fill-in-the-blank with only one valid answer, there are no distractors to disprove - the command is unambiguous in the Samba toolset.

Memory tip: Think "SMB password" → smbpasswd. The tool name mirrors what it does - it manages passwords for Samba (SMB protocol), making it easy to recall when you need to bridge a Linux user account into the Samba authentication system.

Topics

#smbpasswd#local authentication#Samba password database

Community Discussion

No community discussion yet for this question.

Full 300-300 Practice