View previous topic :: View next topic |
Author |
Message |
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Fri Jun 06, 2003 12:13 pm Post subject: mirroring, rsync and security |
|
|
How would one go about mirroring a box securly? I can setup an rsync daemon but, that would enable any user to access the files.
If the file system I wish to mirror contains files with many permissions and ownerships, including root, how can I mirror it without allowing others on the network to also do so? _________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
|
Xor Tux's lil' helper
Joined: 07 Jul 2002 Posts: 144
|
Posted: Fri Jun 06, 2003 8:22 pm Post subject: |
|
|
well I know nothing about about rsync-servers... but I would suggest to configure iptables or see if it goes with tcp-wrappers... |
|
Back to top |
|
|
Grimthorn n00b
Joined: 04 Jun 2003 Posts: 10
|
Posted: Tue Jun 10, 2003 8:56 pm Post subject: |
|
|
You can specify security options in the /etc/rsync/rsyncd.conf file on your rsync server.
The following settings would be of most interest to you:
Code: | auth users = <your settings>
hosts allow = <your settings>
|
auth users - Allows you to specify a set of users that are allowed access to the module (comman space seperated).
hosts allow - Allows you to specify the DNS name or IP of computers allowed to access the module.
The following man pages have great information on these topics
Take care,
Grim |
|
Back to top |
|
|
|