linux samba

默认分类 | 2015-08-12 14:08:23 | 2212次阅读 | 0评

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

博友评论,共0条
浏览68023次