Enabling password encryption for a Replication Server

In this procedure, rs_init creates a new configuration file that contains encrypted passwords for the Replication Server. rs_init encrypts the passwords in the rs_users and rs_maintusers system tables.

StepsEnabling password encryption

  1. Log in as the “sybase” user and change to the Sybase installation directory.

  2. Start rs_init. Enter:

    $SYBASE/$SYBASE_REP/install/rs_init
    

    You see the RS_INIT menu.

  3. Select Configure a Server Product.

  4. Select Replication Server.

  5. Select Enable Password Encryption for a Replication Server.

  6. Complete the screen as follows.

    1. Enter the name of the Replication Server for which you want to enable password encryption.

    2. Enter the login name for the Replication Server with “sa” user.

    3. Enter the password for the Replication Server “sa” user.

    4. Enter the full path for the Replication Server configuration file.

  7. Press Ctrl+A to save your changes. rs_init displays:

    Execute the Replication Server tasks now?
    
  8. Enter “y” to enable encryption.

    rs_init shuts down the Replication Server and encrypts the passwords in the Replication Server configuration file and in the rs_users and rs_maintusers system tables.

    When encryption is complete, rs_init displays:

    Replication Server 'rs_name' can now be restarted.
    
  9. Press Return. rs_init displays:

    Configuration tasks completed successfully.
    
  10. Press Return. You see the Configure Replication System screen.

  11. Press Ctrl+C and enter “y” to exit rs_init.

  12. Restart the Replication Server and any connected Replication Agents.

  13. Delete the backup of the Replication Server configuration file.

NoteThe backup file contains unencrypted passwords, so you should remove that file to protect your replication system security. However, you may first want to make a hard copy or offline backup of the file and store it in a safe place.

The backup file has the same name as the Replication Server configuration file, but the extension is changed to a three-digit number such as “001.” The file with the highest extension number is the most recent backup file.