Victor LABORIE
|
dbea4d46b1
|
Use touch instead of lastlog in sshrc
Because lastlog -S doesn't work on Debian Jessie
lastlog: invalid option -- 'S'
|
2017-08-30 17:24:45 +02:00 |
|
Victor LABORIE
|
fc7229fe9f
|
Clean jail before creating it
|
2017-08-30 17:24:45 +02:00 |
|
Victor LABORIE
|
9606b23d97
|
Update lastlog even on non interactive ssh (eg. with rsync)
|
2017-08-30 17:24:45 +02:00 |
|
Victor LABORIE
|
985c72194a
|
Fix /var/run to /run symlink
|
2017-08-30 17:24:45 +02:00 |
|
Benoît S.
|
2f8b655fa6
|
Use -e instead of -f when checking for Keyfile
Why? Because we can use FD in place of regular files. Like this:
root@backup:~# bkctld key test <(echo "ssh-rsa AA...")
Update test : key = /dev/fd/63
|
2017-08-30 17:23:45 +02:00 |
|
Victor Laborie
|
ea5362ca2a
|
Add mount check when starting jail
|
2017-08-17 14:55:09 -04:00 |
|
Victor Laborie
|
3bd4294cfb
|
Fix jail cleaning when not running
|
2017-08-17 14:53:40 -04:00 |
|
Victor Laborie
|
44620c363a
|
Detect btrfs command path instead of harcoding it
|
2017-08-17 10:35:08 -04:00 |
|
Victor Laborie
|
00e1569fd6
|
Move /var/run to /run
|
2017-08-17 10:35:08 -04:00 |
|
Victor LABORIE
|
f2146a56e5
|
Simplier, lighter and more secure jail
|
2017-07-21 16:46:37 +02:00 |
|
Victor LABORIE
|
4b86284ca0
|
Don't copy dsa host key but copy ecdsa and ed25519 if present
|
2017-07-21 16:46:36 +02:00 |
|
Victor LABORIE
|
8f2c869dfa
|
Fix sshd logging
|
2017-07-21 16:46:36 +02:00 |
|
Victor LABORIE
|
8ac454dae0
|
Fix shellcheck warnings
|
2017-07-19 14:08:48 +02:00 |
|
Victor LABORIE
|
b8e4c3f11b
|
Posix compatibility
* Don't use brace expansion
* Don't use process substitution
* Don't use source keyword
* Don't use $RANDOM var
|
2017-07-19 13:40:16 +02:00 |
|
Victor LABORIE
|
e82340943b
|
Fix if [[ -> if [
|
2017-07-13 16:41:38 +02:00 |
|
Victor LABORIE
|
beecd93c2b
|
Fix btrfs support/detection
|
2017-07-13 16:41:32 +02:00 |
|
Victor LABORIE
|
cc4bee52bd
|
Btrfs snapshot (incs) are now readonly
|
2017-05-17 16:46:54 +02:00 |
|
Victor LABORIE
|
e5ac7e6e73
|
Delete firewall rules on bkctld remove
|
2017-03-31 14:54:18 +02:00 |
|
Victor LABORIE
|
e815d61867
|
Use lazy umount (wait for sshd stop)
|
2017-03-24 12:19:19 +01:00 |
|
Victor LABORIE
|
7493327b1b
|
Don't automatically purge incs with bkctld remove (cp version)
|
2017-03-15 11:15:55 +01:00 |
|
Victor LABORIE
|
031723d26a
|
Add local dir for surcharge default templates files
|
2017-02-17 13:19:53 +01:00 |
|
Victor LABORIE
|
d35c37dd6e
|
Print all IP on bkctld status (Fix #2135)
|
2017-02-09 15:24:55 +01:00 |
|
Victor LABORIE
|
3ad28029a3
|
Fix bkctld sync
|
2017-02-02 10:43:48 +01:00 |
|
Victor LABORIE
|
43137dadb2
|
Make minifirewall silent
|
2017-02-01 16:31:12 +01:00 |
|
Victor LABORIE
|
2a6b998d9e
|
Use absolute path for btrfs command (fix cron use)
|
2017-01-27 11:33:58 +01:00 |
|
Victor LABORIE
|
0296fab941
|
Fix mail notification constant name
|
2017-01-18 10:33:02 +01:00 |
|
Victor LABORIE
|
60ccaaa2e2
|
Add licence and author/contributor infos
|
2017-01-17 16:50:39 +01:00 |
|
Victor LABORIE
|
e7d3d7cdca
|
Kill old rm only if always run
|
2017-01-12 12:27:58 +01:00 |
|
Victor LABORIE
|
61481e81fb
|
Fix bkctld restart all
|
2017-01-12 11:32:02 +01:00 |
|
Victor LABORIE
|
a1942c486f
|
Fix inc and rm logging
|
2017-01-12 11:26:58 +01:00 |
|
Victor LABORIE
|
9faa3b3c34
|
Fix default constants
|
2017-01-12 11:14:39 +01:00 |
|
Victor LABORIE
|
a0051afa41
|
Fix inc PATH for cp and inc log
|
2017-01-12 11:09:27 +01:00 |
|
Victor LABORIE
|
4c4e845dd8
|
Initial version of Debian package
|
2017-01-11 18:47:10 +01:00 |
|
Victor LABORIE
|
f5116b8c9d
|
Fix sync subcommand
|
2017-01-11 12:12:02 +01:00 |
|
Victor LABORIE
|
0ca32f1579
|
Auto restart minifirewall if present
|
2017-01-11 11:28:28 +01:00 |
|
Victor LABORIE
|
0498a2fc32
|
Fix print of status of all jail
|
2017-01-10 18:16:15 +01:00 |
|
Victor LABORIE
|
30b69affa8
|
Send mail with rm recap
|
2017-01-10 16:22:15 +01:00 |
|
Victor LABORIE
|
ebec139084
|
Send mail with inc recap
|
2017-01-10 16:11:43 +01:00 |
|
Victor LABORIE
|
b36d6f90e2
|
Kill previous bkctld rm if always run
|
2017-01-10 15:26:58 +01:00 |
|
Victor LABORIE
|
b2222b0d47
|
Add default value for constant defined in /etc/default/evobackup
|
2017-01-10 14:56:17 +01:00 |
|
Victor LABORIE
|
e58b2c3f65
|
More verbose log
|
2017-01-10 14:35:04 +01:00 |
|
Victor LABORIE
|
2f289a4bcd
|
Refactoring
|
2017-01-10 12:12:33 +01:00 |
|
Victor LABORIE
|
ea869a9c8e
|
Add log function for logging
(utilisez "git push" pour publier vos commits locaux)
|
2017-01-09 18:35:07 +01:00 |
|
Victor LABORIE
|
f6e404bc1f
|
Fix bkctld rm
|
2017-01-09 16:54:54 +01:00 |
|
Victor LABORIE
|
4adcd90e9a
|
Refactoring
|
2017-01-09 14:26:52 +01:00 |
|
Victor LABORIE
|
d876e17624
|
Rename bkctl to bkctld
|
2017-01-09 14:16:03 +01:00 |
|