This is pretty good documented somewhere in InterSystems documentation, but usually I cannot find it when I need it. That is the reason why I posted it here.
ccontrol start <cache-instance-name> /EmergencyId=<username>,<password>
The only user that can login now is the one that has been defined above.
- cache-instance-name = The name of your instance (use
ccontrol listto find out)
- username = a temporary username (only valid for this session)
- password = a temporary password (only valid for this session)
ccontrol stop <cache-instance-name> restart
P.S. A friendly user told me that the “/” in front of EmergencyId is not necessary. I don’t know if this is just a typo and cannot check it right now so I left my article it as it is. Please test it with and without the “/” and let me know which one is working for you. Thank you.