Using UPDATE MODE (Database Building Option)

What is UPDATE mode?

UPDATE mode gives a large amount of flexibility to the administrator when the unthinkable happens. Suppose the entire RADIUS database is lost or corrupted. TCCRadius can be set to LEARN the usernames and passwords of users as they log into the system dramatically decreasing downtime while the user database is rebuilt.

To enable UPDATE mode, simply modify the default user and change the password of the default user to update.

While in UPDATE mode, TCCRadius will create new accounts containing only the usernames and passwords of users as they are authenticated. The only disadvantage to using this mode is that ANYONE will be able to login while in UPDATE mode.

Keep this in mind. Then, after the majority of your accounts have been created, remember to go back and filter out invalid accounts by username and change TCCRadius back to NORMAL mode.

TCCRadius is in NORMAL mode when the default user password is something other than 'update' or 'accept'.

Enable UPDATE Mode While Using TEXT OR ODBC Authentication

Simply create a default user. Create a text file in notepad or your favorite text editor and name it 'default' (no quotes of course). Place it in your 'users' directory specified in the TCCRadius.cfg file. Then, enter the following lines:

username = default
password = update

Now, if TCCRadius is running, you have just switched to UPDATE mode. There is no need to restart. Changing modes happens immediately since the default user is checked each time a user is authenticated.