No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

eSight V300R009C00 Single-Node System Software Installation Guide (SUSE Linux) 09

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How Do I Enable and Disable the Samba Service

How Do I Enable and Disable the Samba Service

Question

How do I enable and disable the Samba service on the SUSE Linux operating system?

NOTE:

You must stop the Samba service after software uploading.

Answer

  • Enable the Samba service.
    1. Log in to the Linux server as the root user.
    2. Run the following command on the command terminal.

      # yast2

    3. Select Network Services > Samba Server.

    4. If the Samba has not been installed, install it as prompted.
      1. In the Samba Installation: Step 1 of 2 window that is displayed, click Next.

      2. In the Samba Installation: Step 2 of 2 window that is displayed, select Not a Domain Controller and click Next.

    5. In the Samba Configuration window, select During Boot.

    6. Click the Shares tab and click Add.

    7. In the New Share window, set Share Name to opt, Share Path to /opt, and click OK.

    8. On the Shares tab, you can find that the service has been added to Available Share. Click OK.

    9. On the command terminal, run the following command to complete user settings for the Samba service.
      # smbpasswd -a root
      New SMB password: Enter the new password for the Samba service. 
      Retype new SMB password: Enter the new password for the Samba service again. 
      Added user root
  • Disabling the Samba service.
    1. Log in to the Linux operating system as the root user.
    2. Run the following command on the command terminal to display the YaST Control Center page.

      # yast2

    3. Select Network Services > Samba Server.

    4. In the Samba Configuration window, click the Start-Uptab, select Manually, and click OK.

Download
Updated: 2019-05-17

Document ID: EDOC1100011860

Views: 92391

Downloads: 138

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next