在Ubuntu10.10 中增加 Samba服务
来源:互联网 发布:安卓运行windows xp 编辑:程序博客网 时间:2024/06/05 17:47
sudo apt-get install samba smbfs
####图形界面
###sudo apt-get install system-config-samba
mkdir /home/flexitime/share
chmod 755 /home/flexitime/share
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
sudo nano /etc/samba/smb.conf
----------------------------
找到下关键字:
# security = user
替换为:
# by flexitime
security = user
username map = /etc/samba/smbusers
# 在文件最后增加
# by flexitime
###这个是只读的
[iso]
comment = Shared Folder with username and password
path = /stgb
read only = yes
create mask = 0755
directory mask = 0755
###这个是可写的
[stgb]
comment = Shared Folder with username and password
path = /stgb
writeable = yes
read only = no
create mask = 0777
directory mask = 0777
valid users = flexitime
###################
然后顺便把这里改一下,找到[global]把 workgroup = MSHOME 改成
workgroup = WORKGROUP
display charset = UTF-8
unix charset = UTF-8
dos charset = cp936
####################
########
------------------
sudo useradd wuser
sudo smbpasswd -a wuser
// by delete user: sudo smbpasswd -x wuser
sudo nano /etc/samba/smbusers
---------------------
#by flexitime
wuser="windows user"
fleiximte=""
---------------------
sudo testparm
sudo service smbd restart
- 在Ubuntu10.10 中增加 Samba服务
- 在Ubuntu 10.10 中增加 Samba服务
- ubuntu10.10配置samba服务
- Ubuntu10.10下设置Samba服务
- Ubuntu10 samba 服务配置
- ubuntu10.04 搭建 samba服务
- Ubuntu10.04 Samba服务安装与配置
- ubuntu10.10 samba安装过程
- Ubuntu10.10如何配置samba
- ubuntu10.10设置samba服务器
- ubuntu10.10搭建samba服务器
- samba 在ubuntu10.0.4下的安装
- 虚拟机ubuntu10.10与xp共享文件夹(samba服务模式)
- Linux系统:Ubuntu Samba服务安装与配置,VirtualBox中增加全屏显示
- Ubuntu10.10下Samba服务器的搭建
- ubuntu10.10下搭建samba服务器
- Ubuntu10.10下Samba服务器的搭建
- Ubuntu10.10下Samba服务器的搭建
- How to disable AXI Monitor VIP protocol checking
- 在一堆人还在犹豫《SEO实战密码》是否值得购买的时候,在下已经收藏了1/10的签名版
- struts工作原理
- HP-UNIX的一些命令的用法总结
- 自定义 序列化3
- 在Ubuntu10.10 中增加 Samba服务
- 公司杀手 第五章
- 源文件与模块生成时的文件不同
- 四年再看新的Apple TV
- viterbi 算法
- CTI(华测检测)在电子产品领域为您提供全面的检测方案
- AJAX提交表单
- Logitech的GoogleTV
- 按键驱动