Fedora6 smb服务器配置
1)修改安全模式(security mode)
security=share
2)修改public部分,将要共享的目录添加到该部分中。
[public]
comment = Public Stuff
path = /var/ftp/books
public = yes
writable = no
printable = no
#write list = @staff
2)如果启动selinux,修改安全设置。
chcon -R -u system_u -r object_r -t public_content_t /var/ftp/books/
3)修改读权限(如果需要的话)
chown root.root /var/ftp/books -R
chmod o+r /var/ftp/books -R
4)linux客户机测试
smbclient -L xxx.xxx.xxx.xxx
相关推荐
airfish000 2020-09-11
huangzonggui 2020-06-05
zhangwentaohh 2020-05-29
roddex00 2020-04-20
sanshamo 2020-03-27
furongwei 2020-03-26
zlsh00 2020-03-23
oLeiShen 2020-03-07
sapliang 2020-02-22
leodengzx 2020-01-31
meylovezn 2020-01-08
vanturman 2019-12-27
leodengzx 2019-12-27
leodengzx 2019-12-18
sapliang 2019-12-16
furongwei 2019-12-15
wq0 2019-12-14