Prevent users from unchecking "require password to wake computer from sleep or screen saver"
I've recently been given the task of securing a small network. One of the things we want to have happen is to have the computers lock down after a period of inactivity.
The easy thing for this, of course, is to require a password after the computer goes to sleep or the screen saver starts. The only problem is that I have users unchecking this, as it's a user preference (they don't need to authenticate as an admin to turn it off).
I know I can log them out after a period of inactivity, but that closes all files and programs and is a bit more of a pain for everyone. If I could just have the password prompt all the time, we'd be satisfied.
Is there a way to make the user preference "require password to wake computer from sleep or screen saver" only editable to an admin account?
The clients in question are using 10.5.8.
Thank you for any help you can provide.
Although I have concerns about recommending this solution, you can change the access permissions for the Security (or Security & Privacy) preferences pane itself so that only the Administrator account, or members of the Administrator group, will be able to open that pane.
[ᔥ Owen Linzmayer: Require Password to Wake 2005]
I want to emphasize that I have not fully tested this solution and that you should proceed with caution and do your own testing before implementing it across an entire production environment. It seems innocuous enough, but experience has taught me that changes in places that Apple does not intend you control can sometimes have consequences.
You can set permissions for the pane using the terminal, or by navigating to the /System/Library/PreferencePanes folder:
Selecting the Security pane file:
do a Get Info using the menu, contextual menu or ⌘ + i and change the permissions for everyone to no access. You will most likely have to click the lock in the lower-right-hand corner and authenticate with your administrator password before you can edit the permissions.