From: Faiyaz Ahmed Date: Fri, 5 Jun 2009 18:52:57 +0000 (+0000) Subject: rsync auth logs to ~/ X-Git-Tag: vsys-scripts-0.9-4~2 X-Git-Url: http://git.onelab.eu/?p=vsys-scripts.git;a=commitdiff_plain;h=c575509c5f1eaf05f84da3d12496e1c4ccf917e6 rsync auth logs to ~/ --- diff --git a/exec/rsyncauthlogs b/exec/rsyncauthlogs new file mode 100755 index 0000000..4914501 --- /dev/null +++ b/exec/rsyncauthlogs @@ -0,0 +1,5 @@ +#!/bin/sh + +DEST="/vservers/$1/home/$1/" + +/usr/bin/rsync -a /var/log/secure* $DEST