Skip to main content

Example One: %Service_Console

In this example you experiment with Password, Unauthenticated, and Cascading authentication using the Terminal.

In the first part of the example we set the authentication mechanism for %Service_Console (the service that controls Terminal) to unauthenticated. Then we access Terminal.

Here are the steps:

  1. Click %Service_Console on the Services page (click [Home] > [System Administration] > [Security] > [Services]) of the Management Portal.

  2. On the Edit Definition page for %Service_Console click Unauthenticated and make sure that no other mechanism is selected.

    generated description: serviceconsole unauth 20131

  3. Click Save.

  4. Now launch Terminal. Click the InterSystems Launcher in your System Tray. Click Terminal from the menu.

  5. You are not prompted for a password. Terminal opens immediately at the namespace prompt.

    
    USER>
    
    
  6. Execute the Write $UserName command at the prompt:

    
    USER>Write $UserName
    UnknownUser
    USER>    
    
    

    Since we are using unauthenticated access, we access Caché through the UnknownUser account.

  7. Close Terminal. Click File—>Exit.

Note:

This example assumes that you have installed Caché with minimal security, that you are connecting to a local Caché instance, and that you are using Windows. If you are using a local Caché instance in a non-windows environment, then you open a terminal session using the csession command rather than the Caché Cube. Otherwise the exercise is the same.

FeedbackOpens in a new tab