nerdexam
LPI

300-300 · Question #18

Which of the following commands terminates all running instances of the Samba daemon handling for SMB shares?

The correct answer is D. smbcontrol smbd shutdown. Samba is a suite of programs that allows SMB/CIFS clients to interact with file and print services on a Linux/UNIX server. smbd is the Samba daemon responsible for handling SMB/CIFS requests. The smbcontrol utility is used to send messages to running Samba daemons. The correct…

300.6 Troubleshooting

Question

Which of the following commands terminates all running instances of the Samba daemon handling for SMB shares?

Options

  • Asmbcontrol samba shutdown
  • Bsmbcontrol nmbd shutdown
  • Csmbcontrol shutdown
  • Dsmbcontrol smbd shutdown
  • Esmbcontrol cifs stop

How the community answered

(23 responses)
  • B
    4% (1)
  • C
    9% (2)
  • D
    87% (20)

Explanation

Samba is a suite of programs that allows SMB/CIFS clients to interact with file and print services on a Linux/UNIX server. smbd is the Samba daemon responsible for handling SMB/CIFS requests. The smbcontrol utility is used to send messages to running Samba daemons. The correct way to terminate all running instances of the Samba daemon handling SMB shares is to send a shutdown message to smbd using the command smbcontrol smbd shutdown. This command ensures that only the smbd processes, which are responsible for handling SMB shares, are terminated without affecting other Samba components like nmbd (NetBIOS name server daemon).

Topics

#smbcontrol#smbd#daemon management#Samba shutdown

Community Discussion

No community discussion yet for this question.

Full 300-300 Practice