作者在 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