smb.conf
[global]
security = user
username map = /etc/samba/smbusers
[SoftWare]
comment = Soft Ware
path = /var/software
writeable = yes
valid users = terry
useradd terry
passwd terry
smbpasswd -a terry
smbusers:
terry = public_access
然后访问 software目录时就可以使用映射的 public_access 用户了
阅读(1465) | 评论(0) | 转发(0) |