Creating internal user repository files
You can create and/or modify internal user repository files that contain user names and their respective encrypted passwords.
SSX provides a tool that you can use to create internal user repository files:
- ssxtxtpasswd.exe on Windows
- ssxtxtpasswd on UNIX
At a later stage, you can use the internal user repository file to authenticate users independently from your system. With a default installation, the tool is available in the following directory:
- Windows:
C:\SoftwareAG\common\security\ssx\bin
Note:The tool may also be available in the ssx_32 directory (instead of ssx). This is only for backwards compatibility.
- UNIX:
/opt/softwareag/common/security/ssx/bin/
To start the ssxtxtpasswd tool, you use a command prompt. When you start the tool, you enter a user name and a password which are then hashed (SHA512 and Base64) and provided in the result text file. The tool adds new or replaces existing user credentials in the text file.
When you enter a user name, you can use only digits, Latin letters, and the following characters:
! ( ) - . ? [ ] _ ~
When you enter a password, you can use only digits, Latin letters, and the following characters:
! " # $ % & ' ( ) * + , - . / : ; < = > ? [ \ ] ^ _ ` { | } ~
The user-defined repository files must comply with the following format:
*
* Default test repository for INTERNAL or TEXT based authentication
*
version:3.0
*
*
user:user_id:hashed_password
*
To create and/or modify an internal user repository file
Examples
The following examples provide information about more typical use cases of the tool:
ssxtxtpasswd.exe -c -f internalUser.txt -p pass myUser
ssxtxtpasswd.exe -f internalUser.txt -p newpass myUser
ssxtxtpasswd.exe -d -f internalUser.txt myUser
The tool creates a text file which contains the encrypted internal user repository credentials and stores it in the same directory in which you started it.
As a next step, you can provide the file to the configuration option
internalRepository (see the corresponding product documentation for more
information).