Commit Graph

17 Commits

Author SHA1 Message Date
Jeremy Gardais 89724099bf
ShellCheck: Fix local var definition 2018-04-26 14:43:28 +02:00
Jeremy Gardais 250c8103cf
ShellCheck: Fix printf '\n' character 2018-04-26 14:40:43 +02:00
Jeremy Gardais 5a7c3ff5a2
Add a tested DEBUG var before print debug messages 2018-04-26 14:37:47 +02:00
Jeremy Gardais 049f47910f
Fix ListUsers don't use the correct var 2018-04-26 11:43:03 +02:00
Jeremy Gardais 67b67e117b
Fix the way to get the sudoers directory 2018-04-26 11:38:44 +02:00
Jeremy Gardais 738e690582
Re-enable the actions 2018-04-26 10:38:47 +02:00
Jeremy Gardais 0b80ba177f
Don't set username information 2018-04-26 10:36:42 +02:00
Jeremy Gardais c1881635a1
Add the rsync commands to the configuration file
This file is then send to the server, so BackupPC directly interpreter
it.
2018-04-25 16:41:08 +02:00
Jeremy Gardais 4cf4e0dccb
Fix printf colors 2018-04-25 16:31:54 +02:00
Jeremy Gardais 32d0fa6d62
Fix some type and printf 2018-04-25 16:03:23 +02:00
Jeremy Gardais eb33666a92
Add commands to create backuppc user 2018-04-25 15:55:31 +02:00
Jeremy Gardais 8bf3031d51
Add folds for functions 2018-04-25 15:39:24 +02:00
Jeremy Gardais febfa4ecc4
Add functions for backuppc user
Create the user.
Allow the backuppc user to use rsync with sudo without password.
2018-04-25 15:31:14 +02:00
Jeremy Gardais 4d41973e92
Not overwrite user file and fix the use of homedir
Don't overwrite authorized_keys if it exist.
2018-04-25 12:03:36 +02:00
Jeremy Gardais 764449747d
Fix typo and useless ";;" 2018-04-25 11:40:23 +02:00
Jeremy Gardais 0c8637b638
Activate DEBUG, don't perform any action on the system 2018-04-25 11:22:07 +02:00
Jeremy Gardais 9463b4ee27
Add a script to install backuppc on MAC only 2018-04-25 11:14:31 +02:00