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

Unix/Linux
linux查看内存的大小
在linux下写的代码,用的是utf-8,结果拿到XP下运行的时候,所有的中文都成乱码
linux su和sudo命令的区别
linux cron 下的定时执行工具使用技巧
linux 查找进程及终止进程操作的相关命令
redhat linux 安装 gcc编译器
Linux Mplayer播放各种格式的电影
一起回顾一下linux常用命令
Linux 网站项目发布要做哪些配置
linux SSH配合SecureCRT的密匙完美使用方法
GD 编译出错解决方法
Facebook Open Platform编译FAQ
Linux 系统硬盘 优化
linux 挂载详解
linux crontab定时命令
Linux 系统中确保访问三级域名畅通的方法
Linux 特权帐号VS普通帐号
确保Linux系统安全的前提条件 漏洞防护
Linux 监视系统资源使用率
Red Hat Linux上使用BIND建立DNS服务器

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


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