Redhat7 samba配置(部分)
selinux设置(允许有访问权限):
# chcon -t samba_share_t /share
ACL控制权限
# setfacl -m u:aa:rx /share
# setfacl -m u:bb:rwx /share
# vi /etc/samba/smb.conf
path = /share
write list = aa (aa有写权限)
read list = bb (bb有读权限)
hosts allow = 10.0.0. (允许访问的网段)
:wq
本文出自 “linux” 博客,请务必保留此出处http://yangzhiming.blog.51cto.com/4849999/1731019
原文地址:http://yangzhiming.blog.51cto.com/4849999/1731019