rsyncd - 认证相关参数配置说明
2009-01-31 13:40
525 查看
rsyncd - 认证相关参数配置说明
# 本文件的默认位置是/etc/rsyncd.conf# GLOBAL PARAMETERS
motd file = /var/rsync/welcome.msg
pid file = /var/run/rsyncd.pid
# DEFAULT MODULE PARAMETERS
use chroot = no
max connections = 20
log file = /var/log/rsyncd.log
lock file = /var/run/rsync.lock
uid = nobody
gid = nobody
# MODULE PARAMETERS
[module]
comment = module comment
path = /path/to/module/
read only = yes
list = no
# auth users
# This parameter specifies a comma and
space-separated list of usernames that will be allowed to connect to
this module. The usernames do not need to exist on the local system.
The usernames may also contain shell wildcard characters. If "auth
users" is set then the client will be challenged to supply a username
and password to connect to the module. A challenge response
authentication protocol is used for this exchange. The plain text
usernames and passwords are stored in the file specified by the
"secrets file" parameter. The default is for all users to be able to
connect without a password (this is called "anonymous rsync").
#
该参数指定一个使用逗号和空格分隔的允许连接到该模块的用户名列表。用户名不必存在于本地系统中。用户名也可以包含命令行通配符。当设置“auth
users”时客户端将被要求提供连接该模块的用户名和密码。使用一个要求响应认证协议来交换。文本格式的用户名和密码保存在由“secrets
file”参数指定的文件中。默认情况允许所有用户不需要密码就能连接(被称为“匿名rsync”)。
auth users = module_user
# secrets file
# This parameter specifies the name of a file
that contains the username:password pairs used for authenticating this
module. This file is only consulted if the "auth users" parameter is
specified. The file is line based and contains username:password pairs
separated by a single colon. Any line starting with a hash (#) is
considered a comment and is skipped. The passwords can contain any
characters but be warned that many operating systems limit the length
of passwords that can be typed at the client end, so you may find that
passwords longer than 8 characters don't work.
# 该参数指定一个包含 用户名:密码 对的文件用于该模块的认证。仅在指定“auth
users”参数时使用。文件基于行包含由一个单冒号分隔的 用户名:密码
对。任何由#号开头的行都被视为注释而被忽略。密码可以包含任何字符但是一些客户端的操作系统限制可以输入的密码长度而发出警告,可能发现长度超过八个字
符的密码不能工作。
# 例如 /etc/rsyncd.secrets 的内容如下:
# module_user:password
secrets file = /etc/rsyncd.secrets
hosts allow = 192.168.1.2
ignore errors
[rsync - 官方网站]
http://rsync.samba.org/[rsync - 关键词]
rsyncrsyncd
[rsync - 相关问题]
全局部分中常用全局参数配置说明全局部分中常用模块参数配置说明
模块常用配置说明
认证相关参数配置说明
客户端常用参数
客户端其他参数
for Windows (cygwin)
远程shell模式和rsync守护进程模式
22.6. File Synchronization. Building Internet Firewalls, 2nd Edition
Hack 92 Mirroring Web Sites with wget and rsync. Spidering Hacks
Linux Security Cookbook - Recipe 1.16 Integrity Checking with rsync
Linux Security Cookbook - Recipe 1.6 Remote Integrity Checking
Linux Security Cookbook - Recipe 6.3 Copying Files Remotely
正确设置gid参数
相关文章推荐
- Kafka 配置参数汇总及相关说明
- Proftpd有关权限配置的相关参数说明
- (三)、log4j2使用原理及相关参数配置说明
- rsyncd - 全局部分中常用全局参数配置说明
- hadoop相关配置文件参数详细说明
- tomcat相关【各种参数说明以及内存配置优化需要整理】
- Nginx中并发性能相关配置参数说明
- rsyncd - 全局部分中常用模块参数配置说明
- log4net配置相关参数说明 .
- 连接数据库的相关配置参数属性说明详解
- Ubuntu server 15.0.4 Redis相关笔记及配置参数说明
- yarn-site.xml相关配置参数列表说明
- Kafka 配置参数汇总及相关说明
- hadoop三个配置文件的参数含义说明
- 【Struts2配置RESULT中TYPE的参数说明】
- 【Redis手册二】redis.conf 配置参数说明
- 本田飞度汽车的配置和相关资料说明
- jvm 相关整理之参数配置方式
- MM--移动类型的配置相关的系统表,举例说明SAP是如何根据配置抛帐的
- nginx基本配置与参数说明