Commit Graph

35 Commits

Author SHA1 Message Date
Matthew Grooms
659fa7f23b Cleanup authentication code. The basic auth method, the passwd, htpasswd
and pam backing functions have been removed. The basic auth method was
legacy code and the backing functions were redundant with no added value
that I could see. A simplified replacement backing function named
local_backed has been added that authenticates to the local configuration
info which should be identical to system pwdb credentials. Since the
htpassword file is no longer required, sync_webgui_passwords and its
wrapper function system_password_configure have been removed.

The local account management functions were renamed for consistency. A few
minor bugs related to setting local passwords have also been corrected.
2008-08-03 17:54:35 +00:00
Scott Ullrich
c9030aec22 Do not backup /var/empty 2008-07-31 21:54:45 +00:00
Scott Ullrich
9226ab399f Unlink files when restoring. 2008-07-31 21:50:41 +00:00
Scott Ullrich
d688f4e0d2 Break out text to new line, pause for 5 seconds after showing backup size. 2008-07-31 21:36:21 +00:00
Scott Ullrich
8388bbc67a Report backup size after completion. 2008-07-31 21:34:11 +00:00
Scott Ullrich
36db7251ea Add line break to make the text look tidy. 2008-07-31 21:30:06 +00:00
Scott Ullrich
e469df3dda Alert user we are restarting lighty and friends in 5 seconds. 2008-07-31 21:02:09 +00:00
Scott Ullrich
e265afd077 Launch helper script in background to relaunch lighty and friends. 2008-07-31 20:59:59 +00:00
Scott Ullrich
13d219d74d Output echos in the correct order. 2008-07-31 20:57:32 +00:00
Scott Ullrich
26aa0611ac Output more details during restart operations 2008-07-31 20:55:27 +00:00
Scott Ullrich
1bbb52e6bc Spell exclude correctly 2008-07-31 20:51:50 +00:00
Scott Ullrich
665bba7534 * Ignore /var/run during backups
* Exec restart commands in background
2008-07-31 20:50:52 +00:00
Scott Ullrich
8d136ee2fc Remove ermals testing branch. These changes have been merged. 2008-07-31 20:47:28 +00:00
Scott Ullrich
ff33e21f1f * Backup prior configuration before syncing. Tired of blowing up my
firewall and having to spend hours to get back online.  This is not
  exactly productive.
* Add a RESTORE option as a branch if we detect a previous CVSSYNC.

With these changes it should be easy as pie to revert to the last known
good working state.
2008-07-31 20:46:50 +00:00
Scott Ullrich
171217dc71 * HEAD is dead, zed.
* Add RELENG_1_MULTI_ANYTHING for ermals branch
2008-06-29 22:21:46 +00:00
Chris Buechler
2b519cf71b fully back out previous change and fix cvssync 2008-06-22 05:24:59 +00:00
Scott Ullrich
5f4e06a21a Back out last change, no longer needed. 2008-06-22 04:23:31 +00:00
Scott Ullrich
3a77a392d7 Do not overwrite 0 sized bianries during cvssync
Reported-by: BillM
2008-06-19 18:03:13 +00:00
Scott Ullrich
2b06594347 Ticket #1678 fixes 2008-05-17 20:46:43 +00:00
Scott Ullrich
138e0be866 Clarify comment. 2008-03-11 03:05:25 +00:00
Scott Ullrich
aa0b2c975b Restart webConfigurator first. 2008-03-10 02:41:28 +00:00
Scott Ullrich
155fc60e9b * Use general pkg for cvsup-without-gui
* Download static cvs binary from files.pfsense.org
2008-03-08 01:12:15 +00:00
Scott Ullrich
9bb3e055fb Update (C) and comment 2007-12-13 05:07:06 +00:00
Scott Ullrich
9b252d6853 Correct release information 2007-12-12 22:30:50 +00:00
Scott Ullrich
76e155ccc3 Require auth.inc 2007-12-02 03:57:04 +00:00
Scott Ullrich
537bc12e14 Really allow command arguments from pfSsh.php 2007-11-24 04:38:36 +00:00
Scott Ullrich
7184512000 Allow command arguments from pfSsh.php 2007-11-24 04:35:32 +00:00
Scott Ullrich
44d2484c33 Remove syslog.conf from checked out files marked for updating. 2007-11-24 01:43:50 +00:00
Scott Ullrich
9fa767282b Move branch names and descriptions to an array instead of hard coding. 2007-11-23 22:44:57 +00:00
Scott Ullrich
9c55f82494 Remove extra c/r 2007-11-23 08:10:50 +00:00
Scott Ullrich
96ebb0a6b6 Allow arguments to be passed to cvssync so you can do:
pfSsh.php playback cvssync RELENG_1
2007-11-23 07:57:22 +00:00
Scott Ullrich
6475461880 Note script is "Terminating" at end. 2007-11-23 07:47:39 +00:00
Scott Ullrich
784cca4da1 Simplify the process and do not download the entire cvs tree for cvssync operations. Simply cvsup the needed branch. Saves bandwidth, time, diskspace, etc. 2007-11-23 07:42:26 +00:00
Scott Ullrich
90d9604ae2 Add missing carriage returns 2007-11-23 06:14:19 +00:00
Scott Ullrich
800351cc32 Move cvs_sync.sh to pfSense shell as the cvssync playback command. 2007-11-23 06:08:55 +00:00