Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

talon4tp

macrumors newbie
Original poster
Jan 4, 2015
2
0
I have iMac Lab machines at a college, I would like to have the user profiles deleted upon logoff, does anyone have any idea how to accomplish this?

Thanks.
 
enable guest logins!
its already built into os x
if you want a user name like 'bob' to be deleted when he logs off, i don't know
 
Ad

Guest logins are not an option for this situation. Our students are logging into the Macs with an Active Directory account, and accessing personal drives.
 
Guest logins are not an option for this situation. Our students are logging into the Macs with an Active Directory account, and accessing personal drives.

What do you mean by personal drives? Are the iMacs mounting a remote home directory for the user? or do you mean a local external drive?

Are you just using the built-in AD integration in OS X?

This should help you:

The script
https://discussions.apple.com/thread/3771400?tstart=0

OS X login/logout hooks:
https://wiki.afp548.com/index.php/Login/Logout_Hooks_in_OS_X
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.