setpassword
Syntax and description
The setpassword command sets or resets the password of any user. The server must be stopped before this command is executed.
mobiletogetherserver setpassword [options] User Password |
•Both arguments are mandatory.
•User specifies the user for which the password is being assigned. The user must already be defined on the server.
•Password specifies the new password to assign to the user named in the previous argument.
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
Examples of the setpassword command:
mobiletogetherserver setpassword "tech-01" myNewPassword
mobiletogetherserver setpassword tech01 myNewPassword
Options
Use the --h, --help option to display information about the command.
--datadir = PathToDatabaseDirectory Specifies the path of the database directory.
|