resetpassword
Syntax and description
The resetpassword command resets the password of the root user to the default value (root), and grants the root user all privileges. The running instance of MobileTogether Server must be stopped before performing this operation.
mobiletogetherserver resetpassword [options] |
MobileTogetherServer on Windows mobiletogetherserver on Windows and Unix (Linux, Mac)
* Note that lowercase (mobiletogetherserver) works on all platforms (Windows, Linux, and Mac), while upper-lower (MobileTogetherServer) works only on Windows and Mac. * Use forward slashes on Linux and Mac, backslashes on Windows.
|
On Windows systems: When spaces or special characters occur in strings (for example in file or folder names, or company, person or product names), use quotes: for example, "My File". Note, however, that a backslash followed by a double-quotation mark (for example, "C:\My directory\") might not be read correctly. This is because the backslash character is also used to indicate the start of an escape sequence, and the escape sequence \" stands for the double-quotation mark character. If you want to escape this sequence of characters, use a preceding backslash, like this: \\". To summarize: If you need to write a file path that contains spaces or an end backslash, write it like this: "C:\My Directory\\".
|
Example
Example of the resetpassword command:
mobiletogetherserver resetpassword --datadir=C:\ProgramData\Altova\MobileTogetherServer\mobiletogether.db
Options
Use the --h, --help option to display information about the command.
--datadir = PathToDatabaseDirectory Specifies the path of the database directory.
|