diff --git a/README.md b/README.md index 0528c25..c3348dc 100644 --- a/README.md +++ b/README.md @@ -1 +1,34 @@ -Add this line in the sudoers file (use visudo) and it must go AFTER the %sudo line www-data ALL=(ALL) NOPASSWD: /usr/bin/php /var/www/html/bin/run-bu-by-id.php 3rd-party backup-commander dom_persist eclipse-gwt help_dlang help.txt html_backup_UI html_stanhope res_builder stanhope_d tmp Test by switching user to www-data: su -s /bin/bash www-data cd /var/www/html php bin/run-bu-by-id.php 19 0 where 19 is the backup id and 0/1 is not-test/test Comment out /inc/secure.php in post_handler.php if the login is not required TODO: create an install script: -- currently all manually done First version on Las-server Pre-requesite to push onto pearcey.net Generate a database schema with default login add the sudo entry for www-data (or other webserver user) kick off the schedule runner at the install stage create the schedule runner in php. simple polling of the DB get passwords from BD create a user credential page: new user+password change own password but only if the login is enabled (in post_handler.php) +# Backup Commander + +Add this line in the sudoers file (use visudo) and it must go AFTER the %sudo line + +www-data ALL=(ALL) NOPASSWD: /usr/bin/php /var/www/html/bin/run-bu-by-id.php * + +Test by switching user to www-data: +su -s /bin/bash www-data +cd /var/www/html +php bin/run-bu-by-id.php 19 0 + where 19 is the backup id and 0/1 is not-test/test + +Comment out /inc/secure.php in post_handler.php if the login is not required + + +TODO: + + create an install script: -- currently all manually done + + First version on Las-server + Pre-requesite to push onto pearcey.net + Generate a database schema with default login + add the sudo entry for www-data (or other webserver user) + kick off the schedule runner at the install stage + + + create the schedule runner in php. simple polling of the DB + get passwords from BD + create a user credential page: + new user+password + change own password + but only if the login is enabled (in post_handler.php) + +