git://git.onelab.eu
/
vsys-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rsync auth logs to ~/ in the slice
[vsys-scripts.git]
/
exec
/
rsyncauthlogs
diff --git a/exec/rsyncauthlogs
b/exec/rsyncauthlogs
new file mode 100755
(executable)
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