banner



How To Stop Samba Service In Linux

After completing the installation and before you can use Samba, you lot must start its 2 daemons, smbd and nmbd. Both tin can exist started at once by starting the SMB service. From a command shell, employ this command:

service smb offset

Whenever y'all brand a configuration change, such as adding a new share or creating a new Samba user, you lot should stop and restart the service with these commands:

service smb restart

If you prefer, you can stop and kickoff the service with separate commands:

service smb stop service smb start

If yous're not sure whether Samba is running, enter this control:

service smb condition

You get a message indicating whether the smbd and nmbd daemons are running.

To configure Samba to commencement automatically when you start Linux, utilise this control:

chkconfig -level 35 smb on

To brand sure that the chkconfig command worked right, enter this command:

chkconfig -list smb

You should see output similar to the following:

Smb      0:off  1:off  ii:off  3:on   iv:off  five:on   6:off

You tin independently configure services to start automatically for each of the vi kick levels of Linux. Kick level 3 is normal operation without an X server; level 5 is normal operation with an X server. And so setting SMB to start for levels iii and five makes SMB available — regardless of whether yous're using a graphical user interface.

You lot tin also start and cease Samba past using the Service Configuration tool, shown in the following figure.. Ringlet down the list of services until y'all detect the SMB service. You tin can use the iii buttons on the toolbar at the top of the window to start, stop, or restart a service.

image0.jpg

You can too use the Service Configuration tool to first Samba automatically, although frankly, the chkconfig control is easier to utilize. To configure Samba to first automatically for levels iii and 5, follow these steps:

  1. Select the SMB in the list of services.

  2. Click the Customize push.

    This brings upward a dialog box that lists v run levels.

  3. Brand sure all five bank check boxes are selected.

  4. Click OK.

About This Article

This article can be found in the category:

  • General Networking ,

How To Stop Samba Service In Linux,

Source: https://www.dummies.com/programming/networking/network-administration-starting-and-stopping-samba/#:~:text=graphical%20user%20interface.-,You%20can%20also%20start%20and%20stop%20Samba%20by%20using%20the,stop%2C%20or%20restart%20a%20service.

Posted by: morganbeet1940.blogspot.com

0 Response to "How To Stop Samba Service In Linux"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel