Question
· Nov 25, 2022

How to enable %Service_Terminal with command line?

Hello

 

I need to enable %Service_Terminal with shell script:

1) Enable %Service_Terminal

2) Enable delegate authentication on this Service

 

How?

Product version: Caché 2018.1
Discussion (2)2
Log in or sign up to continue

Hello Thiago,

please check once the documentation for the class:
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?...

This may look like this for the %Service_Telnet service:

USER>zn "%SYS"  ; Change Namespace to %SYS
%SYS>Set stat=##class(Security.Services).Get("%Service_Telnet",.props)
%SYS>zw stat,props
stat=1
...
props("Enabled")=0
...

%SYS>Set props("Enabled")=1

%SYS>Set stat=##class(Security.Services).Modify("%Service_Telnet",.props)