Script to remove screen saver password Mojave

a_simmons
Contributor II

I'm setting up a kiosk Mac with Mojave installed and need to remove the prompt to require a password after the screen saver begins. I would like to change the setting through a script so it doesn't have to be changed manually. I've tested a few scripts I found online but they didn't change the settings. Is anybody able to advice how to do through a script or terminal command.

ba45c1360a3746acb341397791e8d53a

1 REPLY 1

Jaykrishna1
Contributor II

You can remove your deployed screen saver using this script  rm -rf <enter the path> by using \, /