0

There is a setting under Security & Privacy -> Advanced, to "Log out after X minutes of inactivity". However, this is a system wide setting. I just want to have my kids account log out after a period of inactivity, but leave my account logged in. Is that possible?

  • @GrahamMiln I don't think this is a duplicate. It's broader than the question you linked to, so people searching for this will more likely find an answer – bot47 May 11 '18 at 12:55
  • See also Logging out one specific user after inactivity? Linking this to help tie together similar questions. – Graham Miln May 11 '18 at 16:06
0

The MacEnterprise list has discussed this topic recently, Forcing Log-Off For Idle Users.

autologout Defaults

John NcNair suggested the following autologout defaults:

defaults write /Library/Preferences/.GlobalPreferences com.apple.autologout.AutoLogOutDelay -int 900 
defaults write /Library/Preferences/.GlobalPreferences com.apple.securitypref.logoutvalue -int 900 

Limitations

Bruce Carter mentioned...

Note that nothing using Apple's internal mechanism for this will work if the user has unsaved files open. It will simply stop at the dialog box and time out.

See the related question How can I automatically log out the guest account after a period of inactivity? for other approaches and tools.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged .