Written by

Senior Cloud Architect at InterSystems
Question Eduard Lebedyuk · Feb 14, 2022

Demo docker container

Does anyone have a script for demo docker containers - to remove login prompt?

Essentially to make container behave as if it had minimal security.

Comments

Robert Cemper · Feb 14, 2022

It should be sufficient to add this to init:script

set user=##class(Security.Users).%OpenId("unknownuser")
do user.Roles.Insert("%All")
do user.%Save()
 ;;; just for comfort
set smp=##class(Security.Applications).%OpenId("/csp/sys")
set smp.AutheEnabled=64
do smp.%Save()

set

0