Ubuntu 14.04 配置samba:
安装略
# vi /etc/samba/smb.conf
security = user (在[global]下任意添加)
[share]
path = /home/share
browseable = yes
writable = yes
valid users = ming.yang
:wq
# service smbd restart
# smbpasswd -a ming.yang (创建ming.yang samba账号并设置密码)
删除samba账号是:smbpasswd -x ming.yang
本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/1969557如需转载请自行联系原作者
yangzhimingg