LINUX 6--Install Samba "anonymous user" access to File Share transfer Service (Novice details)

Source: Internet
Author: User

LINUX 6--Install Samba anonymous user access to file Share transfer service


----------------------------------------Installation Environment---------------------------------------------

1. System Environment:
CentOS6.5 "LINUX 6 as an SMB server": 192.168.120.8

Windows10 "as Client"
2.yum Warehouse
3. Using the RPM package: samba-3.6.9-164.el6.x86_64.rpm

-----------------------------------------Installation Steps--------------------------------------------

-

1. Install the SMB package, and prepare to edit the SMB configuration file

-

2. Modify Profile-user mode

The last line inserts the following-user access mode

Detailed:
"Test" —————————— Specify user logon mode
Path =/opt/test ———————— file paths (if not, you need to create a file)
browseable = yes ———————— Browse permission
#writable = yes ———————— Write permission "First add #, meaning comment, do not execute"
Create mask = 0664 ———————— Creating the file's own permissions
Directory mask = 0755 —————— Create folder Self permissions
Valid users = Zhangsan ———————— Specify who can log on with a password
Write list = Zhangsan ———— Write lists "If you write this, you need to comment out Writable=yes"
After the modification is completed, enter the last line mode, press Wq to save exit

-

3. Create a user

-

4. For security, to modify the alias for the user to form a virtual user


After the modification is completed, enter the last line mode, press Wq to save exit

-

5. You need to restart the service after each configuration file modification

-

6.

----------------------------------------------user-mode file sharing-------------------------------------------

1.

-

2. Enter the virtual user and password you created earlier

-

3. Login Zhangsan User Success

-

4.
Enter the SMB Server for authentication

LINUX 6--Install Samba "anonymous user" access to File Share transfer Service (Novice details)

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.