Screensaver and Software Update

Kumar
New Contributor

Hi,

Can any one provide the script for screensaver to start about 5 min and require password back(10.6,7 and 8)

I also require script to redirect all 10.6 client to SUS.

Thanks,
Anil

9 REPLIES 9

bentoms
Release Candidate Programs Tester

This may help with the screensaver: http://macmule.com/2010/11/18/how-to-set-osxs-screen-saver-via-script/

You can set the SUS server many ways, are you using MCX?

Kumar
New Contributor

Thanks for the script Bentoms, Yes I am using MCX for Lion and Mountain lion but unfortunately Snow leopard doesn't support MCX so I am looking for the script to redirect Snow leopard machine to SUS

donmontalvo
Esteemed Contributor III

@kumar wrote:

unfortunately Snow leopard doesn't support MCX

Huh?

--
https://donmontalvo.com

Lincoln
Contributor

'unfortunately Snow leopard doesn't support MCX'

Don't tell that to my snow leopard machines, they are supporting MCX quite happily, as were my leopard machines before that. :)

Kumar
New Contributor

@Lincoln. I am using Casper 8.62 and the trainer from JSS told us that Snow leopard doesn't support MCX and and it is not working for me!!

donmontalvo
Esteemed Contributor III

@kumar MCX goes back 10 or more years, at least back to Mac OS X 10.2 days.

..JSS told us...

JSS is a server, when it talks to me it usually means its time for a vacation. :)

I think you meant JAMF. I also wonder if they meant Configuration Profiles?

--
https://donmontalvo.com

mscottblake
Valued Contributor
I also wonder if they meant Configuration Profiles?

I was just going to post the same thing.

Configuration Profiles only work in 10.7+ while MCX has worked for quite a while and continue to work.

Kumar
New Contributor

Hi Donmontalvo/Msblake,

Yes it is Configuration profile and screensaver is working in snow leopard with managed preferences but require password is not working.

The script I got is not working and show the error message as syntax error near unexpected token newline ('<!DOCTYPE html>'

Thanks,
Anil

mm2270
Legendary Contributor III
syntax error near unexpected token newline ('<!DOCTYPE html>

That means the script file wasn't saved in the proper format. The JSS thinks its an html file, not a shell script file. Open the script in a plain text editor. Textedit will do as long as you make sure it is open as a plain text file, then re-save it making sure the .sh extension is being appended to it (if its a bash/shell script)