Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选 PDF转换器

首页 / 操作系统 / Linux / Ubuntu利用SWAT管理SAMBA服务器

Ubuntu下利用SWAT管理SAMBA服务器 1、apt-get install xinetd swat依赖xineed才能正常工作 2、sudo apt-get samba samba-common smbfs smbclient swat 3、修改 vi /etc/inetd.conf 将 ## swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat 改为 swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat如果已去掉了##就可以了。有时也默认就去掉了 4、新建swat文件 sudo vi /etc/xinetd.d/swat 内容如下: # description: SAMBA SWAT service swat { disable = no socket_type = stream protocol = tcp #should use a more limited user here user = root wait = no server = /usr/sbin/swat } 5、sudo dpkg-reconfigure xinetd 6、查看swat是否运行 运行命令: netstat -lt 如果出现tcp 0 0 *:swat *:* LISTEN,表示swat配置运行成功,正在监听 7、 http://localhost:901 大功告成!如果你不使用ROOT账号。可能只能监视。只有4个图标。ubuntu默认是没有激活ROOT的。sudo passwd root输入两次密码。就可以了Ubuntu内核不能升级解决方案Ubuntu 服务器上安装启动SSH Server相关资讯      Ubuntu教程 
  • Ubuntu教程 - 使用Ubuntu拷贝CD和  (12/18/2013 14:38:16)
  • 让Ubuntu 12.10支持RAR和7Z文件解  (11/15/2012 18:51:50)
  • Windows 7硬盘安装Ubuntu 12.10图  (11/03/2012 19:22:47)
  • 完美安装Ubuntu 12.10最新AMD显卡  (11/27/2012 08:17:47)
  • Win 7硬盘安装Ubuntu 12.10  (11/05/2012 13:30:34)
  • 虚拟机上Ubuntu 11.10升级到12.04  (10/12/2012 20:00:38)
本文评论 查看全部评论 (0)
表情: 姓名: 字数