Skip to main content
Solved

Sudo JAMF policy command on Ventura not supported

  • October 26, 2022
  • 4 replies
  • 18 views

Forum|alt.badge.img+3

hi,

the command: Sudo JAMF policy seems not to be supported on Ventura.

Terminal says..This script support MacOS Catalina, Big Sur and Monterey only.
Script exit code: 1

Anybody else getting this issue? and if anything was changed...

 

Best answer by DBrowning

@Klinken The script that is failing is the CISBenchmarkScript.  So the jamf command is working fine, its just one of the scripts you have running is exiting out.

4 replies

DBrowning
Forum|alt.badge.img+24
  • Esteemed Contributor
  • 668 replies
  • October 26, 2022

I would guess you have some script running in a policy thats doing that because if you run `sudo jamf policy` it runs without issue in Ventura.  Maybe if you post a screenshot of what you are seeing it will become clear whats happening.  


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3567 replies
  • October 26, 2022

@Klinken Look at the source for that script and see if it's checking what version of macOS it's running on as that error implies it is and will exit with a failure if it's not one of the 3 versions listed when it exits


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 1 reply
  • October 31, 2022

Thank you. @sdagley and @DBrowning 
This is what I see. When I run the command.

 


DBrowning
Forum|alt.badge.img+24
  • Esteemed Contributor
  • 668 replies
  • Answer
  • October 31, 2022

@Klinken The script that is failing is the CISBenchmarkScript.  So the jamf command is working fine, its just one of the scripts you have running is exiting out.