
gid = nobody
uid = nobody
read only = true
use chroot = no
transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log
[FTP]
path = /srv/ftp
comment = An Example
Then start rsyncd with
rcrsyncd start
. rsyncd can also be started automatically
during the boot process. Set this up by activating this service in the runlevel editor
provided by YaST or by manually entering the command
insserv rsyncd
. rsyncd
can alternatively be started by xinetd. This is, however, only recommended for servers
that rarely use rsyncd.
The example also creates a log file listing all connections. This file is stored in
/var/
log/rsyncd.log
.
It is then possible to test the transfer from a client system. Do this with the following
command:
rsync -avz sun::FTP
This command lists all files present in the directory
/srv/ftp
of the server. This re-
quest is also logged in the log file
/var/log/rsyncd.log
. To start an actual
transfer, provide a target directory. Use
.
for the current directory. For example:
rsync -avz sun::FTP .
By default, no files are deleted while synchronizing with rsync. If this should be forced,
the additional option
--delete
must be stated. To ensure that no newer files are
deleted, the option
--update
can be used instead. Any conflicts that arise must be
resolved manually.
734
Installation and Administration
Summary of Contents for LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Page 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Page 14: ......
Page 19: ...Part I Deployment...
Page 20: ......
Page 60: ......
Page 128: ......
Page 243: ...Part II Administration...
Page 244: ......
Page 274: ......
Page 312: ......
Page 348: ......
Page 380: ......
Page 381: ...Part III System...
Page 382: ......
Page 438: ......
Page 452: ......
Page 478: ......
Page 486: ......
Page 498: ......
Page 512: ......
Page 558: ......
Page 559: ...Part IV Services...
Page 560: ......
Page 652: ......
Page 670: ......
Page 742: ......
Page 754: ......
Page 796: ......
Page 817: ...Part V Security...
Page 818: ......
Page 858: ......
Page 886: ......
Page 910: ......
Page 911: ...Part VI Troubleshooting...
Page 912: ......
Page 924: ......