linux samba

作者在 2015-08-12 14:08:23 发布以下内容

1 apt-get install samba samba - common

2 usradd sambausr

3  # mkdir /home/share # chmod 777 /home/share

4 # vim /etc/samba/smb.conf

[my share]
comment=my share directory
path=/home/share
valid users=smbuser
public=no
writeable=yes
browsable=yes
create mask=0756

4.重启samba
# service smbd restart

默认分类 | 阅读 3047 次
文章评论,共0条
游客请输入验证码
浏览106677次
文章分类