resetpassword

www.altova.com Expand/Collapse All Print this Topic Previous Page Up One Level Next page

Home >  MobileTogether Server Command Line >

resetpassword

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.

 

Syntax

 

mobiletogetherserver resetpassword [options]

 

Click to expand/collapseCasing and slashes on the command line

MobileTogetherServer on Windows

mobiletogetherserver on 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.

 

 

Option

Description

--datadir

Specifies the path of the database directory

--h, --help

Displays information about the command

 

Options are listed in their short forms (if available) and long forms. You can use one or two dashes for both short and long forms. An option that takes a value is written like this: --option=value.

 

Note:On Windows systems: Avoid using the end backslash and closing quote on the command line \", for example, as in: "C:\My directory\". These two characters are interpreted by the command line parser as a literal double-quotation mark. Use the double backslash \\ if spaces occur in the command line and you need the quotes (for example: "C:\My Directory\\"). Alternatively, try to avoid using spaces and, therefore, quotes at all.

 

Example

Examples of the resetpassword command:

 

mobiletogetherserver resetpassword --datadir=C:\ProgramData\Altova\MobileTogetherServer\mobiletogether.db

 


© 2019 Altova GmbH