Starting dsedit

Windows NT

You can start dsedit from the command prompt, the Windows NT Explorer, or the Sybase for Windows NT program group.

StepsTo start dsedit from the command prompt

  1. Enter:

    dsedit
    

    You can specify the following command-line arguments:

    Argument

    Description

    -ddsname

    Specifies which directory service to connect to. dsname is the local name of the directory service, as listed in the libtcl.cfg file. If you do not specify the -ddsname argument, dsedit presents a list of directory service options in the first dialog box.

    -lpath

    Specifies the path to the libtcl.cfg file, if other than SYBASE_home\INI. Use this argument only if you want to use a libtcl.cfg file other than the one located in SYBASE_home\INI.

StepsTo start dsedit through the Windows NT Explorer

  1. Go to the %SYBASE%\bin\ directory.

  2. Double-click on the DSEDIT.exe file.

StepsTo start dsedit from the Sybase for Windows program group

  1. Choose Sybase for Windows NT from the Start menu.

  2. Choose dsedit from the Sybase for Windows NT menu. The Select Directory Service dialog box appears.

UNIX platforms

Before starting dsedit, make sure that you have write permission on the interfaces file.

If you are running dsedit from a remote machine, make sure that the DISPLAY environment variable is set so the dsedit screens will show on your machine instead of on the remote machine.

StepsTo set the DISPLAY environment variable

  1. Log in to the remote machine.

  2. Enter:

    setenv DISPLAY your_machine_name:0.0
    

StepsTo start dsedit

  1. Enter:

    $SYBASE/bin/dsedit
    

    The Select a Directory Service window appears. This window lets you open editing sessions for the interfaces file. The full path name of the default interfaces file is shown in the Interfaces File to Edit box. The full path name of the configuration file is shown below it.