Deleting Profiles on Logoff

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

  1. talon4tp macrumors newbie

    Jan 4, 2015
    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?

  2. rigormortis macrumors 68000


    Jun 11, 2009
    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

    Jan 4, 2015

    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


    Feb 25, 2012
    Sydney, Australia
    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

    OS X login/logout hooks:

Share This Page