Skip to main content

Tutorial: Manually Edit Access Server Configuration Using ConfigReplace

Abstract

You can upload Access Server configuration changes in one file using the command, ConfigReplace.

The ConfigReplace Access Server command allows you to upload configuration changes in a single file, and Access Server imports those changes to the correct configuration files.

The process is as follows:

  1. Download the configuration to a single file.

  2. Edit that file.

  3. Replace the configuration with changes from the file.

  4. Access Server updates the appropriate configuration files.

  • An installed and configured Access Server.

  • Console access and the ability to get root access.

  1. Sign in to the console and get root privileges.

  2. Download the configuration to a single file:

    sacli ConfigQuery > config.txt1

    1

    Where config.txt is the name of the new single configuration file.

  1. Edit the file config.txt with your changes.

    • For example, you might change auth.module.type to pam or vpn.client.routing.reroute_gw to false.

  2. Save your changes.

  1. Replace the configuration:

    sacli --value_file=config.txt ConfigReplace
    sacli start
  2. Verify your configuration changes.

Alternatively, if you want to apply the configuration changes to a specific profile, use these commands for the third step, where you replace the configuration.

  1. Replace the configuration for a specific profile:

    sacli --value_file=config.txt --prof=new_profile1 ConfigReplace
    sacli start

    1

    Where new_profile is the name of the configuration profile you want changed.

  2. Verify your configuration changes.