标签:用户名
一、CentOS 搭建samba
yum install samba samba-client samba-swat
rpm -qa|grep samba
smbpasswd -a 用户名 (用户名可以是提前已经存在的用户)
配置文件路径:
/etc/samba/smb.conf
二、ubuntu 搭建samba
配置文件实例
[share]
path = /home/john/share
available = yes
browseable = yes
public = yes
writable = yes
valid users =myname
create mask = 0700
directory mask =0700
force user =nobody
force group = nogroup
标签:用户名
原文地址:http://dbaba.blog.51cto.com/5188604/1869396