Commit Graph

90 Commits

Author SHA1 Message Date
Jeremy Gardais 72e0dfed86
Ensure to install sshd 2019-05-06 15:34:58 +02:00
Jeremy Gardais 13e44b6661
Init install script for Windows and manage APT 2019-05-06 11:36:11 +02:00
Jeremy Gardais 6d78838d8a
Give sudo permissions for both backup and backuppc user 2018-06-14 15:45:28 +02:00
Jeremy Gardais 6a62d2ff26
Contact the admin if error 2018-05-28 18:11:05 +02:00
Jeremy Gardais 82786179eb
Disable DEBUG mode 2018-05-28 17:52:45 +02:00
Jeremy Gardais 4483ba3ecc
Add sudoers configuration 2018-05-28 17:52:23 +02:00
Jeremy Gardais e21864990d
Test is_sudoers_line result 2018-05-28 17:31:54 +02:00
Jeremy Gardais 8bc6853b6c
No exit with error if don't find sudoers line
This way, actions can be done with the result (eg. add the line,…).
2018-05-28 17:00:21 +02:00
Jeremy Gardais 4123be0626
Disable DEBUG mode 2018-05-28 16:33:20 +02:00
Jeremy Gardais 764b9e6c94
Add a script in order to fix backuppc sudo rights 2018-05-28 16:22:36 +02:00
Jeremy Gardais 641eaf5ae6
Keep zip file 2018-05-15 14:53:48 +02:00
Jeremy Gardais f4282a1b7c
Add windows installer for client 2018-05-15 14:27:16 +02:00
Jeremy Gardais 2e51ca6e76
Create a directory to separate server/client 2018-05-15 14:25:21 +02:00
Jeremy Gardais b97dd59df6
Fix permissions on generated file 2018-05-15 14:12:16 +02:00
Jeremy Gardais a2adb70c90
Ensure to ignore all cache directories 2018-05-15 14:09:00 +02:00
Jeremy Gardais 285aa8d6f0
Fix the returned value of IpAddress 2018-04-26 15:29:45 +02:00
Jeremy Gardais f5ef9d67b1
Remove DEBUG messages for MyFqdn
Cause the function is used to define the path of a file.
2018-04-26 15:20:24 +02:00
Jeremy Gardais e0e5915fde
Add DEBUG messages for MyFqdn function 2018-04-26 15:13:32 +02:00
Jeremy Gardais ebf03aaf8e
Forgot to add the DEBUG var… 2018-04-26 15:03:11 +02:00
Jeremy Gardais 725277623c
Increase the view of the vars in printf 2018-04-26 15:00:38 +02:00
Jeremy Gardais c21a895747
Fix DEBUG messages indentation 2018-04-26 14:54:30 +02:00
Jeremy Gardais 6f67529e95
Don't display message about stealth mode disabled 2018-04-26 14:44:43 +02:00
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
Jeremy Gardais a48427c412 Ensure to test if the entry really exist in /etc/hosts. 2017-12-08 08:49:44 +01:00
Jeremy Gardais 1e18ddb88e Add informations about new DSI Windows installations. 2017-12-05 14:31:18 +01:00
Jeremy Gardais 9d88b7fa26 Add informations about starting SSHD on Linux. 2017-12-05 11:54:43 +01:00
Jeremy Gardais c74afb440b Replace double white spaces with tabulations. 2017-11-27 11:29:13 +01:00
Jeremy Gardais bea48dcbd0 Add a specific ssh user for Windows DSI computer.
See bugzilla 1956.
2017-11-27 11:28:02 +01:00
Jeremy Gardais 2d4901769e Verify if hostkeycontent is available in the file and use it.
The new configuration file provide by the BackupPC client from DSI add
hostkeycontent param.
2017-09-28 14:09:44 +02:00
Jeremy Gardais 5c35ecc385 Add info how-to add a backuppc to the main user's group. 2017-06-07 15:03:57 +02:00
Jeremy Gardais 31f18197e5 Some corrections. 2017-01-23 17:02:20 +01:00
Jeremy Gardais 974bfcce76 Add info about "Erreur de transfert" 2017-01-20 15:22:12 +01:00
Jeremy Gardais 550e0756ee Merge branch 'master' of vmgit.ipr.univ-rennes1.fr:cellinfo/backuppc_client 2017-01-20 11:57:36 +01:00
CARRE Anthony 3c3441794c linux only script, no mac inside 2017-01-20 11:41:01 +01:00