New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Unlock with Admin to Auto-Logout


Post Reply New Thread Subscribe

 
Thread Tools
noah_swanson

 
Member Since: Jan 25, 2010
Posts: 4
noah_swanson is on a distinguished road

noah_swanson is offline
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.

Thanks!
QUOTE Thanks

Post Reply New Thread Subscribe


« Interface Builder Help | Can anyone build Op Tools for Camfrog? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
OSX won't recognize my password for admin rights Doug b OS X - Operating System 5 01-21-2011 03:54 PM
CSS layout not working in IE7 (Please help!) FinnIII Web Design and Hosting 1 06-23-2009 07:06 AM
HELP! Lost Admin Account kitjv OS X - Operating System 11 10-31-2007 07:17 PM

All times are GMT -4. The time now is 09:23 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?