Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

Example One: %Service_Console Authentication

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 the Terminal) to unauthenticated. Then we access the 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.

    The Allow Two-factor SMS text authentication setting and the two-factor authentication setting highlighted with a red box

  3. Click Save.

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

  5. You are not prompted for a password. The 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 InterSystems IRIS through the UnknownUser account.

  7. Close the Terminal. Click File—>Exit.

Note:

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

FeedbackOpens in a new tab