Linux Learning Samba Sharing (no password)

Source: Internet
Author: User

First, server configuration

  1. Installation: Yum Install-y Samba

  2. To change the path permissions to share: chmod 777/mnt/samba/

  3. Back up the smb.conf configuration file first: Cp/etc/samba/smb.conf/etc/samba/smb.conf.bak

  4. Change configuration: vim/etc/samba/smb.conf

    Security = Share

    Load printers = No

    Comment out the [home] and [printer] sections

    Change the trailing [public] as follows

    [Samba]

    comment= Public Stuff

    Path=/mnt/samba

    Public = yes

    writable = yes

  5. Verification Settings: Testparm

  6. Shut down firewall: Service iptables stop

  7. Start Samba server:/ETC/INIT.D/SMB start

    Chkconfig SMB on

  8. SELinux section settings: Chcon-t Samba_share_t/mnt/samba


Second, Windows Client Access

\\192.168.1.100, the Samba folder appears, can be written to delete, OK

Linux Learning Samba Sharing (no password)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.