码迷,mamicode.com
首页 > 其他好文 > 详细

新版samba安装过程

时间:2015-06-20 06:48:18      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:

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

 

新版samba安装过程

标签:

原文地址:http://www.cnblogs.com/agang-php/p/4590032.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!