As a follow-up you can find here the relevant SKs:
sk119633 How to remotely reset Admin password on Centrally Managed 1100 / 1200R / 1400 appliance fro...
and the original cprid_util SK:
sk101047 How to manage Security Gateway using the "cprid_util" tool
I also did some testing and have found that the LOGNAME seems only to be needed by bashUser - other commands will work the same without it:
# $CPDIR/bin/cprid_util -server 172.x.x.x -verbose rexec -rcmd /bin/bash -c "free"
total used free shared buffers
Mem: 983408 831912 151496 0 25120
Swap: 0 0 0
Total: 983408 831912 151496
# $CPDIR/bin/cprid_util -server 172.x.x.x -verbose rexec -rcmd /bin/bash -c "fw ver -k"
This is Check Point's 1200R Appliance R77.20.75 - Build 286
kernel: R77.20.75 - Build 256
# $CPDIR/bin/cprid_util -server 172.28.8.177 -verbose rexec -rcmd /bin/clish -c "show diag"
Current system info
-----------------------------------
Image name: R77_990172286_20_75
Image version: 286
Bootloader version: 990170212
HW MAC Address: 00:1C:7F:
LAN MAC Address: 00:1C:7F:
DMZ MAC Address: 00:1C:7F:
Unit version: 1
Unit model: L61i
Marketing capabilities: 0
Marketing name: <Undefined>
ODM Hardware Revision: <Undefined>
Management opaque: Kb2XMJTTeWk=:xaYS3i++sLw=:zRlzLIL82ek=
Hardware capabilities: 1 - SD card
RTC status: OK
eMMC Initial bad blocks: 0
eMMC Current bad blocks: 0
eMMC Spare blocks: 118
HW monitor file system not found
CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist