Re: rsync and selinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



lhecking@xxxxxxxxxxxxxxxxxxxxx wrote:
>
>> I use rsync extensively to transfer entire systems from and to SElinux
>> enforcing environments and have never had a problem with reads using
>> rsync when logged on as the root user.  My typical command line is
>> some variation of the following:
>>
>> /usr/bin/rsync -avX --delete-after --specials --times \
>>   --exclude-from=/root/rsync.d/exclude.list \
>>   192.168.216.29:/* /.
>
>  (-a includes --times :)
>
>> Are you connecting as the root user?
>
>  I'm connecting in daemon mode since I'm using pre-defined modules. Any
> other solution requires either a password or setting up passwordless ssh,
>  which I'm not inclined to do in this case. The purpose here is automation.

Over here, we have a key we use only for backups with rsync, and we
restrict what commands can be run with that key to rsync.

       mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux