Ubuntu下安装使用samba
来源:互联网 发布:淘宝降权还能恢复吗 编辑:程序博客网 时间:2024/06/11 18:32
sudo apt-get install samba
修改配置文件
sudo vim /etc/samba/smb.conf
#======================= Share Definitions =======================
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username https://sutcp.com
[homes]
comment = Home Directories
browseable = no
# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes
read only = no
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
valid users = %S
添加用户
sudo smbpasswd -a username
重新启动
sudo service smbd restart
- Ubuntu下安装使用samba
- Ubuntu下Samba安装配置及使用
- ubuntu下安装samba
- ubuntu下安装samba
- Ubuntu下安装samba
- ubuntu下安装samba
- ubuntu下安装samba
- ubuntu下安装samba .
- ubuntu下安装samba
- ubuntu下安装samba
- ubuntu下安装samba
- ubuntu下安装samba
- ubuntu下安装samba
- ubuntu下安装samba
- Ubuntu下安装samba
- ubuntu下samba安装
- Ubuntu下安装samba
- Ubuntu下使用samba
- VB.Net矩阵求逆
- java 单向链表实现
- SQLite学习资源
- PM HIS
- Socket通信原理和实践
- Ubuntu下安装使用samba
- LVS+Keepalived配置示例
- php生成utf-8文件
- 四、union-find算法
- VB.Net矩阵求秩函数
- 数据结构——顺序栈的学习
- 什么是凸函数
- iOS开发UI调试利器Reveal简单使用
- Netty的FastThreadLocal