Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How to run csession command without having to supply user credentials?

Question
Raghuram Devarakonda · Feb 15, 2017

How to run csession command without having to supply user credentials?

Hi,

I am trying the following command in order to freeze the instance before backup is done:

    csession CACHE -U%SYS "##Class(Backup.General).ExternalFreeze()"

The command requires user name and password to be supplied when prompted. Is there any way that this command can be run where it doesn't query the credentials? I am wondering if it can use OS level permissions (root or effective user who owns Cache processes etc) .

My test is on a CentOS 6 machine if that helps. 

Thanks,

Raghu

#Caché

Source URL:https://community.intersystems.com/post/how-run-csession-command-without-having-supply-user-credentials