You are here: Helix Administrator > Security > Authentication > Password Tool

Password Tool

When it uses the RealSystem 5.0 authentication protocol, Helix Mobile Server encrypts passwords, so you cannot look up the passwords directly. However, you can add or change passwords in a flat file or relational database by using a command-line utility.

Tip: You can create a password interface by integrating this utility with your own CGI scripts and Web pages.

To use the password tool:

1. Open a command prompt and navigate to the Bin directory under Helix Mobile Server's main installation directory.

2. Enter the following command:

makepass username realm

using the following values:

username

The user name exactly as it is entered, or will be entered, in the authentication database.

realm

The value of the Realm ID entry on the Realms page. See the section "Realms".

3. A password prompt appears, followed by a prompt to type the password again. The resulting encrypted password is displayed on the screen.

Helix Mobile Server encrypts passwords with the MD5 hashing algorithm. It uses the form MD5("username:realm:new_password"). On BSD systems and some other UNIX systems, you can generate these passwords with the following command:

echo -n "username:realm:new_password" | md5

4. Add the resulting encrypted password into the appropriate field of the database:

For text files, place it in the password field of the Users directory. See "Users Directory".

For databases, place it in the password field of the Users table. See "Users Table".

 


Helix Universal Mobile Server Version 14.2 Online Help
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com