Basic settings of SUSE enterprise SMB-Linux Enterprise Application-Linux server application information. The following is a detailed description. Smb configuration process
First of all, we need to know that SMB is a service for accessing files on other computers in WINDOWS. The SMB process on SUSE is as follows:
First, create a user's shared directory.
# Mkdir gongxiang
Next, create the username and password for the folder you want to share. First, create the username and password Under SUSE.
# Useradd-m smb
# Passwd smb
Prompt you to enter the smb User Password
After entering the information, we need to create an SMB User corresponding to the user in SUSE.
# Smbpasswd-a smb
Prompt you to enter the password of this user
OK
Continue to be successful soon
Grant smb User Permissions to the gongxiang directory you created
# Chown smb/gongxiang
# Chmod 744/gongxiang
You can edit the/etc/samba/smb. conf file after completing these tasks.
Vi/etc/samba/smb. conf
Create at the bottom
[Gongxiang]
Comment = This is a shared cover
Path =/gongxiang
Writable = yes
Read only = on
Browsable = yes
Valid users = smb
Guest OK = on
After editing these items, do not forget to have a global area at the top of the file.
[Global]
Add security = user
Now, you can browse other WINDOWS computers to create and delete shared folders on SUSE.
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