- Products
- Learn
- Local User Groups
- Partners
- More
Policy Insights and Policy Auditor in Action
19 November @ 5pm CET / 11am ET
Access Control and Threat Prevention Best Practices
Watch HereOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hello community
I would like to know the following commands can be used for. Especially I'm interested to uses variables.
Could someone gives an example for each of the commands to understand the syntax.
Thanks you
cprid_util rexec [-dir <workdir | env variable>]
cprid_util putenv -attr <a> -val <v>
cprid_util getenv -attr <a>
cprid_util mkdir -dir <dirname | env variable>
cprid_util reg_getval -path <path> -val_name <name> [-only_val]
Please see if this helps https://support.checkpoint.com/results/sk/sk101047
# cprid_util -server 10.x.y.z -verbose putenv -attr QQQ -val qqq
(NULL BUF)
# cprid_util -server 10.x.y.z -verbose getenv -attr QQQ
(NULL BUF)
qqq
# cprid_util -server 10.x.y.z -verbose getenv -attr FWDIR
(NULL BUF)
/opt/CPsuite-R81.20/fw1
Please see if this helps https://support.checkpoint.com/results/sk/sk101047
# cprid_util rexec -server 10.x.y.z -verbose -rexec -rcmd bash -c "pwd"
+ pwd
/
# cprid_util rexec -server 10.x.y.z -verbose -dir /var/log/tmp -rexec -rcmd bash -c "pwd"
+ pwd
/var/log/tmp
# cprid_util -server 10.x.y.z -verbose putenv -attr QQQ -val qqq
(NULL BUF)
# cprid_util -server 10.x.y.z -verbose getenv -attr QQQ
(NULL BUF)
qqq
# cprid_util -server 10.x.y.z -verbose getenv -attr FWDIR
(NULL BUF)
/opt/CPsuite-R81.20/fw1
cprid_util mkdir -dir <dirname | env variable>
should be clear
cprid_util reg_getval -path <path> -val_name <name> [-only_val]
CheckPoint Registry Values are so deep down you should not touch them (without TAC)
Which is the reason I could not find a good example.
Regards
Peter
I do understand the -dir <dirname> but not the <env variable>
<env variable> is a linux environment variable - see e.g. R81.20 Multi-Domain Security Management Administration Guide - Environment Variables or sk165938: Persistent server environment variables
cprid_util reg_getval -path <path> -val_name <name> [-only_val]
The idea is to get / set something like ther following command do:
ckp_regedit -p SOFTWARE/CheckPoint
Regards Peter
https://support.checkpoint.com/results/sk/sk101047
You got all the valid responses...that sk mentioned is definitely great reference.
Andy
If there is anything specific you need tested, happy to run in R82 lab I built.
Andy
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 42 | |
| 21 | |
| 10 | |
| 9 | |
| 7 | |
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |
Wed 19 Nov 2025 @ 11:00 AM (EST)
TechTalk: Improve Your Security Posture with Threat Prevention and Policy InsightsThu 20 Nov 2025 @ 05:00 PM (CET)
Hacking LLM Applications: latest research and insights from our LLM pen testing projects - AMERThu 20 Nov 2025 @ 10:00 AM (CST)
Hacking LLM Applications: latest research and insights from our LLM pen testing projects - EMEAWed 26 Nov 2025 @ 12:00 PM (COT)
Panama City: Risk Management a la Parrilla: ERM, TEM & Meat LunchWed 19 Nov 2025 @ 11:00 AM (EST)
TechTalk: Improve Your Security Posture with Threat Prevention and Policy InsightsThu 20 Nov 2025 @ 05:00 PM (CET)
Hacking LLM Applications: latest research and insights from our LLM pen testing projects - AMERThu 20 Nov 2025 @ 10:00 AM (CST)
Hacking LLM Applications: latest research and insights from our LLM pen testing projects - EMEAThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAWed 26 Nov 2025 @ 12:00 PM (COT)
Panama City: Risk Management a la Parrilla: ERM, TEM & Meat LunchAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY