标签:
yum install samba samba-client samba-swat
cp -p /etc/samba/smb.conf /etc/samba/smb.conf.orig
/bin/systemctl restart smb.service
vim smb.conf
useradd alice
smbpasswd -a alice
id alice
[global] workgroup=BIGCLOUD netbios name=ZZSRV2 server string=Samba Server #security=share security=user map to guest = Bad User [SHAREDOCS] path=/smb/docs readonly=yes browseable=yes guest ok=yes [RDDOCS] path = /smb/tech/ public = no writable = yes write list = @alice validusers = @alice ~
/bin/systemctl restart smb.service
标签:
原文地址:http://www.cnblogs.com/agang-php/p/4590032.html