Chinaunix首页 | 论坛 | 博客
  • 博客访问: 361011
  • 博文数量: 36
  • 博客积分: 570
  • 博客等级: 中士
  • 技术积分: 1042
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-08 20:53
文章分类
文章存档

2015年(1)

2014年(1)

2013年(14)

2012年(10)

2011年(10)

分类: LINUX

2012-04-26 18:02:49

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 用户了
阅读(1452) | 评论(0) | 转发(0) |
0

上一篇:DDNS实施步骤

下一篇:Nagios 实施步骤

给主人留下些什么吧!~~