Deleting Profiles on Logoff

Discussion in 'macOS' started by talon4tp, Jan 4, 2015.

  1. talon4tp macrumors newbie

    Joined:
    Jan 4, 2015
    #1
    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.
     
  2. rigormortis macrumors 68000

    rigormortis

    Joined:
    Jun 11, 2009
    #2
    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
     
  3. talon4tp thread starter macrumors newbie

    Joined:
    Jan 4, 2015
    #3
    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.
     
  4. SlCKB0Y, Jan 5, 2015
    Last edited: Jan 5, 2015

    SlCKB0Y macrumors 68040

    SlCKB0Y

    Joined:
    Feb 25, 2012
    Location:
    Sydney, Australia
    #4
    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
     

Share This Page