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

Unix/Linux
VSFTPD服务器架设菜鸟手记
谈一下使用 rsync for windows 的感受
请问LINUX下如何看在何种模式下工作?急
在字符界面下,如何更改文件夹的显示色彩
我的mysql筆記
我的安裝打印機筆記
转向
右键慢问题
财务软件SQL-Ledger Accounting
终于有了突破
优龙板子问题的解决
romfs.img,image.rom,image.ram(1)
image.ram、image.rom、romfs.img(2)
image.rom,image.ram,romfs.img(3)
我所遇见的鬼
OFFICE有鬼 2005年1月8日
linux比女友亲的十大理由top10 !
Xwindo
Shell 编程
bash编程教学实例

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-20   浏览: 173 ::
收藏到网摘: 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