Informace :
Martin-MacBook:~ mstefl$ defaults -currentHost read com.apple.screensaver
Vypnutí :
Martin-MacBook:~ mstefl$ defaults write com.apple.screensaver askForPassword -int 0
Zapnutí :
Martin-MacBook:~ mstefl$ defaults write com.apple.screensaver askForPassword -int 5
kde číslo určuje počet vteřin