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. Go to 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. 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.

  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.

    When encryption is complete, rs_init displays:

    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 RepAgents.

  12. 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.