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 the Terminal) to unauthenticated. Then we access the Terminal.
Here are the steps:
Click %Service_Console on the Services page (click [Home] > [System Administration] > [Security] > [Services]) of the Management Portal.
On the Edit Definition page for %Service_Console click Unauthenticated and make sure that no other mechanism is selected.
Now launch the Terminal. Click the InterSystems Launcher in your System Tray. Click Terminal from the menu.
You are not prompted for a password. The Terminal opens immediately at the namespace prompt.
USER>Copy code to clipboard
Execute the Write $UserName command at the prompt:
USER>Write $UserName UnknownUser USER>Copy code to clipboard
Since we are using unauthenticated access, we access InterSystems IRIS through the UnknownUser account.
Close the Terminal. Click File—>Exit.
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.