From c575509c5f1eaf05f84da3d12496e1c4ccf917e6 Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Fri, 5 Jun 2009 18:52:57 +0000 Subject: [PATCH] rsync auth logs to ~/ --- exec/rsyncauthlogs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 exec/rsyncauthlogs 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 -- 2.43.0