Re: Howto: Extremely tight security rsync shell for backups

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



On 09/23/2013 01:02 PM, m.roth@xxxxxxxxx wrote:
> It does have to
> run as root, though, on both, to preserve ownership of home and project
> directories, etc.

Depending on how you interpret this statement, my documented process may 
present a (mild) improvement.

It has the backup account on the public server being a non-priviliged 
account only able to run a (tightly controlled) shell script which 
contains the sudo call. In this way, even if the backup account is 
compromised, it can't be used to "take down" the web server, only 
provide access to the data. Technically, the rsync command *is* being 
run as (sudo) root, but nothing else is, and the backup account has no 
ability to change the parameters of the rsync account.
_______________________________________________
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