DFuserdb — Perform maintenance operations on the user database
DFuserdb
[-help]
[-fsck]
[-reset]
[-reset2fa]
[-dump2fa]
[-stats]
[-unlock]
[-migrate]
[-export filename]
[-import filename]
DFuserdb is used to perform maintenance operations such as import/export on the user and role database.
Invoked without arguments DFuserdb works in interactive mode. Allowable commands match the options listed here, but without the leading dash.
-help | print a list of the commands available. |
-fsck | perform a consistency check on the database.
If there are no consistency errors in the database structure
only the message |
-reset |
used to reset the |
-reset2fa | clear all of the devices that have been verified with two-factor authentication security codes. This will force all logins that require two-factor authentication to re-acquire and enter security codes during next login. |
-dump2fa | list all of the devices that have been recently verified with two-factor authentication security codes. |
-stats | display information about the database version and the number of records in the database for each of the indices. |
-unlock | reset the database synchronization locks in cases where they may be stuck after system failures. |
-migrate |
convert a pre-3.8 DFdiscover
user and permissions databases to the new database. It must be run as
|
-export outfile | export (write) the user and role database information to the argument filename. |
-import infile |
import (read) user and role database information from the argument filename.
The file is expected to be in the |