增加linux用户 useradd tangss
修改inux用户密码 passwd tangss
samba 配置:
service smb restart
service nmb restart
smbpasswd -a tangss(tangss 必须是linux用户)
smbpasswd -e tangss
vim /etc/samba/smb.conf 中配置tangss的权限
[tangss]
path = /home/tangss
writeable = yes
browseable = yes
service smb restart
service nmb restart
停止selinux
setenforce 0 / vim /etc/selinux/config 中设置SELINUX=disable
防火墙 /etc/init.d/iptables stop