当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > 教你在Linux中验证SMB网络协议

Unix/Linux
samba的配置[转载]
内核上的dns服务应答可以工作了
a bug of ng_vlan?
安装discuz论坛过程中出现不能识别preg_replace()函数的问题!
DHCP配置
一个很简单但是最常用的SED例子:UNIXDOS文本格式转换
在 linux 上架设 FreeBSD CVSup mirror
CICS FOR WINDOWS
FreeBSD光盘运行版的制作过程
初识FreeBSD
自定义C shell
Linux真的比Windows安全?
ipf+ipnat+ipfw建立带流量控制的透明网关
8139C+ 不能被正确识别网线状态的修订
Reinstall the boot manager.
备份qmail的一个脚本
Open the sound volume
FreeBSD-5.2下安装ORACLE9i手记
bsd 分支表
DNS傻瓜书

Unix/Linux 中的 教你在Linux中验证SMB网络协议


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-20   浏览: 130 ::
收藏到网摘: n/a

  第一步

  挂载

  mount /dev/cdrom /media/cdrom

  rpm -qa   grep samba

  启动service smb start ====/etc/init.d/smb start

  我们共享一个目录:这个目录可以让一个组读写

  第二步

  (groupadd share 新建用户 share 建立用户 user1

  并利用加入到组 usermod -g share user1到组)

  useradd user1

  passwd user1(123)

  groupadd share

  usermod -g share user1

  第三步

  我们追加权限

  chown :share /home/share

  chmod -c g wxr /home/share(权限模式改变成0775rwxrwxr-x)

  第四步

  我们编译samba的配置文件

  vi /etc/samba/smb.conf

  [share]

  comment = samba's share

  writable = yes=@share=write list

  path = /home/share

  还需要吧这个用户写入到smbpasswd里面

  cd /etc/samba

  ls

  smbpasswd -a user1

  我们从客户端验证一下

  运行\\192.168.0.200