1.安装samba
[ home ]
comment = workplace
browseable = yes
writeable = yes
path = /home/
valid users = smb
3.创建smb用户及修改密码:
sudo useradd smb
sudo smbpasswd -a smb
4.修改目录权限:
chmod 777 /home -R
5.重启smbd服务器:
$sudo apt-get install samba
2.编辑配置表
[ home ]
comment = workplace
browseable = yes
writeable = yes
path = /home/
valid users = smb
3.创建smb用户及修改密码:
sudo useradd smb
sudo smbpasswd -a smb
4.修改目录权限:
chmod 777 /home -R
5.重启smbd服务器:
/etc/init.d/smbd restart