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
Take a look at this documentation on OS-level authentication.
Sort obvious, but remember as well as enable OS-level authentication -- Also create a Caché account for the OS user.