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)