Enabling Password Encryption for a Replication Server

Enable password encryption for a Replication Server using rs_init.

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.

  1. Select Start > Programs > Sybase > rs_init.
    You see the RS_INIT menu.
  2. Select Configure a Server Product, then choose Continue. You see the Configure Server Products window.
  3. Select Replication Server and choose Continue. You see the Configure Replication System window.
  4. Select Enable Password Encryption for a Replication Server, then choose Continue.
  5. Enter:
    • Name of the Replication Server for which you want to enable password encryption.
    • Login name for the Replication Server with “sa” user.
    • Password for the Replication Server “sa” user.
    • Full path for the Replication Server configuration file.
  6. Choose Continue to save your changes. You see:
    Execute the Replication Server tasks now?
  7. Select Yes 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.

    Replication Server 'rs_name' can now be restarted.

  8. Choose OK. rs_init displays:
    Configuration tasks completed successfully.
  9. Choose OK. You see the Configure Replication System dialog box.
  10. Choose Exit to quit rs_init.
  11. Restart the Replication Server and any connected Replication Agents.
  12. Delete the backup of the Replication Server configuration file.
Note: The 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.