Thread: Unlock with Admin to Auto-Logout
01-25-2010, 08:50 AM #1
Unlock with Admin to Auto-Logout
- Member Since
- Jan 25, 2010
I'm looking for a way to have the system auto-logout if the screen is unlocked by an administrator. So if User1 is logged in and an admin unlocks the screen, User1 is logged out. This is enterprise standards that have to be met, something about security with more than one user logged in. (Windows does it so now Macs are expected to do so as well).
If FastUserSwitching is enabled, is there a way to have a login script check how many users are logged in and to log out (or restart) if more than one are? I've tried messing around with the USERS and LOGNAME commands but they don't seem to work in a shell script like they do with direct input in terminal.
It'd be best to achieve this without any third party apps and only with scripts.
Anyone have any ideas? I had posted this on the Apple Discussions with zero success.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By dcain in forum OS X - Operating SystemReplies: 2Last Post: 12-11-2013, 01:16 PM
By fitzy17 in forum OS X - Operating SystemReplies: 1Last Post: 02-12-2012, 10:49 PM
By Inuevo in forum Apple NotebooksReplies: 0Last Post: 01-27-2012, 06:32 PM
By Linda in forum OS X - Operating SystemReplies: 3Last Post: 05-19-2011, 09:14 PM
By rabbitjetta in forum iPod Hardware and AccessoriesReplies: 0Last Post: 05-08-2011, 10:56 PM