Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 300-300 Topic 2 Question 14 Discussion

Actual exam question for LPI's 300-300 exam
Question #: 14
Topic #: 2
[All 300-300 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: D

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).


Samba documentation: https://www.samba.org/samba/docs/current/man-html/smbcontrol.1.html

Contribute your Thoughts:

Stefanie
2 months ago
D, no doubt about it. Smbcontrol smbd shutdown is the perfect command for when you want to shut down your Samba daemon and then immediately regret it.
upvoted 0 times
...
Daniela
2 months ago
I'm going to have to go with D on this one. The other options just seem a bit too generic. Plus, I heard the smbcontrol command is the Samba version of the Konami code.
upvoted 0 times
Shayne
1 months ago
Let's go with D then. It makes sense.
upvoted 0 times
...
Marleen
2 months ago
Yeah, I agree. The smbcontrol command is specific to Samba.
upvoted 0 times
...
Dorothy
2 months ago
I think D is the correct answer.
upvoted 0 times
...
...
Cora
2 months ago
I'm not sure, but I think D) smbcontrol smbd shutdown could also be a valid option.
upvoted 0 times
...
Glendora
2 months ago
I agree with Lashunda, because samba is the main daemon for SMB shares.
upvoted 0 times
...
Lashunda
2 months ago
I think the answer is A) smbcontrol samba shutdown.
upvoted 0 times
...
Vivan
2 months ago
Definitely D. I mean, who doesn't love a good ol' smbcontrol smbd shutdown? It's like a secret handshake for sysadmins.
upvoted 0 times
...
Eileen
2 months ago
A and D both sound like they could work, but I'm going to go with D. Shutting down the smbd service seems like the most direct way to terminate all running Samba instances.
upvoted 0 times
Silva
1 months ago
D is the way to go for terminating all running Samba instances.
upvoted 0 times
...
Golda
2 months ago
I agree, D is the correct option.
upvoted 0 times
...
Caprice
2 months ago
Yeah, shutting down the smbd service seems like the most direct way.
upvoted 0 times
...
Youlanda
2 months ago
I think A could work too, but I'll go with D.
upvoted 0 times
...
...
Brock
3 months ago
I think option D is the correct answer. Smbcontrol is the command to control the Samba daemon, and smbd is the specific service that handles SMB shares.
upvoted 0 times
Jackie
1 months ago
Great, thanks for confirming!
upvoted 0 times
...
Alyssa
1 months ago
Yes, smbcontrol smbd shutdown will terminate all running instances of the Samba daemon handling for SMB shares.
upvoted 0 times
...
Jettie
1 months ago
I agree, option D is the correct answer.
upvoted 0 times
...
Malinda
1 months ago
E) smbcontrol cifs stop
upvoted 0 times
...
Melinda
2 months ago
D) smbcontrol smbd shutdown
upvoted 0 times
...
Lewis
2 months ago
C) smbcontrol shutdown
upvoted 0 times
...
Mira
2 months ago
B) smbcontrol nmbd shutdown
upvoted 0 times
...
Alpha
2 months ago
A) smbcontrol samba shutdown
upvoted 0 times
...
Phuong
2 months ago
Yes, smbcontrol smbd shutdown would terminate all running instances of the Samba daemon handling for SMB shares.
upvoted 0 times
...
Phuong
3 months ago
I agree, option D seems like the correct choice.
upvoted 0 times
...
...

Save Cancel