Multiple users in a class room enviroment / deleting home folders after use

Hi,
I'm administrating a class room environment, where my students log on using Active Directory accounts. I would like to clean up the home folders after the users log out, so their profiles would be reseted when they log in next time. Is there any way to achieve this?
any advice is appreciated
thanks,
M

The usual way is :-
Create an account say "default".
Login with "default" and set up that account exactly how you want all the users to get. For example dock settings and browser home page etc.
Tidy up the account, empty the trash, delete recent servers, clear browser caches etc.
Login as root
Delete the keychain of the "default" account.
Copy all the home folders of default to /System/Library/User Template/English.lproj
Run repair permissions
Now all new users will get these home folders and settings when they logon.
Now all you have to do is use a script that deletes the home folders of a students when they logout
so they then get the default set when they login again.
Here is an example of one :-
#!/bin/sh
rm -r /Users/$1
N.B. OS X uses the variable $1 for the currently logged in user.
The easiest way to get this running when they logout out, is to use Mike Bombich's loginwindow manager. It complains a bit when you open it to set it up, but it still does the job with login and logout scripts.
Also have a look at this thread on edu_geek :-
http://www.edugeek.net/forums/mac/72443-how-create-os-x-default-profile-template -bind-ad-10-5-10-6-a.html

Similar Messages

  • HT4539 When having multiple user accounts on a mac can only one of you use the automatic downloads in iTunes?

    Why is it that in itunes on a mac, if you have multiple users, that only one apple id can be used for automatic downloads?

    See if this helps: iTunes: How to share music between different accounts on a single computer

  • How do I delete _000 folders after renaming _000 folders

    User Name: 12345_000
    Computer Name: win8
    New User Name: 1234567890
    Create a directory in C:\Users\1234567890
    Create a file using Notepad in C:\Users\1234567890\1234567890.LOG
    Create a new user named 1234567890
    New User will show up C:\Users\1234567890.win8
    How do I delete C:\Users\12345_000
    Specifically
    How do I delete C:\Users\12345_000\AppData\Roaming\Microsoft\Windows\Libraries

    Hi,
    Do you only need to delete the user profile, or you want to delete the old account at the same time?
    Please back up your Windows before conduct the deleting in case of an emergency.
    If you want to delete the old account please refer to the following thread for more detail. Please make sure you have admin account after deleting your old account.
    How do I delete user accounts on Windows 8?
    http://answers.microsoft.com/en-us/windows/forum/windows_8-security/how-do-i-delete-user-accounts-on-windows-8/681c56f4-426d-4bc4-b667-2e7f1214852a
    If you just want to delete the user profile, you could go through System Properties /Advanced Tab /Settings, then choose the account to delete the related user profile.
    If there are any problems, please let me know.
    Best regards

  • Can I delete old folders after updates?

    Can't believe it makes one iota of difference but am using WIN7.
    Is there any reason not to delete old folders in Lightroom and PS when I upgrade or install later versions.
    Example:  I have 5 folders of updates (plus 4.2)  in my Adobe folder for Lightroom starting with 3.4 up thru 4.1.
    Can I just delete everything except 4.2?
    I have PS CS6. Can I delete the CS5 folder?
    Thanks.

    Most folks leave older versions on their systems to avoid potential issues arising from uninstalling an older version after installing a new.
    Those who DO want to clean up uninstall the older software.  Are you saying you've done that but folders are still left behind?  In that case you'd be safe to remove anything explicitly identified as a version you've uninstalled.
    -Noel

  • Actionscript 3 Class Not Running More Than Once After Using The GoToAndStop function

    I'm having a strange issue, and I am sure it's due to my lack of knowledge about how classes fully work in Adobe AIR (Flash CC). I've created a login button that is connected to a function, and based on a set of conditions it will take you to a different frame with the GoToAndStop function. I've created a logout button that is suppose to take you "back" to the login frame (that has the login button) if you click the logout button using the GoToAndStop function. Up to this point, everything works until I try to click the Login button again, it does not do anything. It's like it does not even try to execute my class file anymore.
    Does the class file only run at startup and never runs again, and if so, how can I create a section of code that is constantly monitoring what the user is doing no matter what frame you are on and no matter if I use the GoToAndStop function or not?
    Thanks

    Based on your qyestion, I think I was wrong with my second guess.
    When I want to create a button, what I do is draw a bitmap that looks like a button and then use a mouse event listener that looks for any part of the stage that is clicked.  You would use the same code for touch as well.  As3 will return the x.y. coordinate of the area that was clicked or touched.  When the xy coordinate is known, if it corrseponds to the area where the button is, I code the appropriate response.  Hence, I only use one event listener for all my buttons, as long as thet involve simple clicks or taps of the screen.
    Good luck, Justin

  • HT4623 Updated iPad and not can't delete old icons after use

    Since I updated the software I can no longer delete the old icon after when I finish using them

    Sure, but its the best you learn how to use the terminal. OS X is Unix and the most advanced tasks can't be done in the graphical enviroment:
    1. Open Terminal (You should startet in your "home" directory, this is the default)
    2. Type: mdls /Applications/iTunes.app (This will output a lot of information)
    3. Look for the last keyword "kMDItemVersion", it should show the program version (e.g. "10.7")
    4. From now on what to do depends on the position of the iTunes version you want to delete. If this is the most recent version you will leave this file alone. If this is an older version of iTunes you will want to delete it. So there is a decision to make.
    4a. Leave this file
    or
    4b. Delete this file with: rm -r /Applications/iTunes.app (maybe the permissions don't allow this to do, I could not test it)
    5. After that you could use the finder to move your regular iTunes version to your desired position
    6. If you most recent version is in an other directory, e.g. /Applications/Music/iTunes.app, you have to do the steps above with this path
    It makes sense to locate first the iTunes version you want to delete. You can get this information with the showed mdls command or with the information dialog of Finder. Click in Finder the particular iTunes icon once, so it is selected, show the information dialog (cmd+i).

  • How do I delete an app after using "Add to Home Screen"?

    I used the "Add to Home Screen" option from Safari. Then it added the app on my home screen. How do I delete it? It does not have an 'X' symbol when I make my icons wiggle. So, does anybody know how to actually delete this app from my iPhone?
    I've heard about dragging it to the tenth page...BUT, I am not interested in leaving it on my phone taking up space. I want it off. I was just testing out its functionality.
    Thanks

    If you plug in your device to the computer, the iTunes page will appear.  Click onto your device on the lefthand side, then select "Apps" at the top of the ensuing page.  You will see all your applications you have on the device.  Right click onto the app you wish to delete, and follow the directions.  That should remove it from your device.
    Hope it works.

  • Deleting DB_Home1 Folders After Failed Installation

    I have tried googling solutions related to fixing this on Windows 7 Enterprise 64 bit. The version is Oracle 11gR2. I've deleted the required Oracle registry keys, ran the deinstaller, deleted the folder under program files, restarted several times, and now can still not delete the db_home1 folder because it says I don't have permissions. (I am a member of the administrator's group. my personal work computer.) Please help!

    872322 wrote:
    I have tried googling solutions related to fixing this on Windows 7 Enterprise 64 bit. The version is Oracle 11gR2. I've deleted the required Oracle registry keys, ran the deinstaller, deleted the folder under program files, restarted several times, and now can still not delete the db_home1 folder because it says I don't have permissions. (I am a member of the administrator's group. my personal work computer.) Please help!Deleting folder is OS ownership/permissions issue that has NOTHING to do with Oracle RDBMS.
    If you feel desperate, you could try renaming it or just drag it into the Trash Can.

  • Using home sharing, can you sync libraries between multiple users in a household?

    Using home sharing, can you sync libraries between multiple users in a household?

    Hey lindsay146,
    Home Sharing lets you to stream or transfer music, movies, and more with up to five authorized computers in your household. You can learn more about it in this link:
    Understanding Home Sharing
    http://support.apple.com/kb/HT3819
    Welcome to Apple Support Communities!
    All the best,
    Delgadoh

  • Autologin to an account when using multiple users

    Is there a way to have a mac running Mac OS 9 set up with multiple users autologin to one of the accounts?
    Ok, since I know people will ask why do you want to do that. I have an old mac and found my old XTension home automation software. I want to make this machine a dedicated home lighting controller. (I have a new mac mini doing this in my house, but I wanted to play with the old machine for fun). Now, I have multiple users set up and one account for home automation that has the panel version of the finder and the only application visible is XTension. This all works great.
    If the power goes out, I want the machine to reboot into this home automation account automatically. I also want to have the machine power cycle once a week just to keep from any memory problems etc.

    Hi, Mark -
    I know of no way that could be set up, since nothing usable runs until an account is logged into.
    I assume that you want to retain the ability to switch to a full OS whenever needed; otherwise, the solution would be to turn Multiple Users off, and set the OS up the way you want it for automation purposes.
    Two possible solutions allowing the retention of the ability to have a fully-operational OS available -
    • Partition the hard drive, then install OS 9 on both (it can be installed on one, then copied via drag-and-drop to get it on the other partition also). Set one up as a fully-functional OS, and the other as a limited-to-automation one. Once you set the startup disk selection to the partition with the automation version, whenever the machine is restarted it will continue to use that one. You can use Startup Disk control panel to switch booting to the other OS when needed. Note - partitioning a drive will erase its entire contents, so you would need to first back up anything you do not want to lose.
    • Similar to the preceding, but, provided your machine has the capability to accept a second internal drive, add a hard drive to provide the second volume.
    The advantage of the first one is that there is no additional cost. The advantage of the second is that you need not erase the original drive.

  • Mac OS 9 auto login with multiple users

    Is there a way to have a mac running Mac OS 9 set up with multiple users autologin to one of the accounts?
    Ok, since I know people will ask why do you want to do that. I have an old mac and found my old XTension home automation software. I want to make this machine a dedicated home lighting controller. (I have a new mac mini doing this in my house, but I wanted to play with the old machine for fun). Now, I have multiple users set up and one account for home automation that has the panel version of the finder and the only application visible is XTension. This all works great.
    If the power goes out, I want the machine to reboot into this home automation account automatically. I also want to have the machine power cycle once a week just to keep from any memory problems etc.
    Oops, sorry, i just realized there is another section for OS 9.x.
    Message was edited by: Mark Miller8

    If you are using this for just Home Automation, why not turn off the "Multiple Users" add-ons and have it revert to a single-user system. Look at the "Multiple Users" Control Panel.

  • Multiple users, network, cannot save

    We've been chasing some permissions issues around for a week or so. We have several workstations on a server-less network. Each editor has a unique user on each workstation. There are a couple circumstance under which file permissions are preventing us from saving fcp projects.
    If I mount another workstation and open a project file from that computer, when I try to save changes, I get a "File Error: Unknown File" message.
    If I use Save As to create a copy of the project on the remote computer, that file cannot be opened in FCP after it has been closed. The error message here says "File Error: Wrong Type"
    The upshot of these two issues is that I can only open, save, create or copy project files on my local computer and still be able to save over them. Any attempt to save over the remote copy of the file not only fails with an error message (unknown file), but a save or save as to the remote computer corrupts to the project so that it cannot be opened by fcp anymore (wrong type).
    There are also issues with multiple users saving the same project on a single workstation, not using the network at all. If user A is the owner of a project file, when user B logs on and tries to edit and save that project, the "File Error: Unknown File" is displayed from 1 to 3 times, as fcp encounters each file resource it is unable to overwrite. In this case, the date modified is updated on the file, and changes appear to be saved. The file is sometimes able to be reopened, and sometimes gets corrupted. I have found no combination of modifying the permissions for the file or the containing folder, applying to enclosed, which enables user B to successfully open and save any file created by user A. The "wrapper" level of the file seems to take the permissions changes, and be modifed at save, but there must be some internal resources in the project file package that are not getting their permissions cleared.
    As part of my file management strategy, I always prefer to have one single project file that is my working, "final" project, renaming backup copies as I create them. Not only does this avoid confusion about project versions, particularly in a multi-user environment, but it also helps to keep fcp's internal management of the project's capture and render files nice and neat.
    I suspect this is an issue that would require a software revision to fix, to allow the project files internal resources to recognize permissions and access by networked users as they are applied to the wrapper of the project file. However, if anyone out there has any recommendations for workarounds inthe meantime, it would help mmee keep things manageable around here. I the meantime, I will continue making new working copies of the projects each time I need to edit as a different user, or work from a different workstation. Just have to wrap my brain around managing all those copies of the project.

    Need a little more info.
    How are the computers connected? How do you connect throught the network to view files from other workstations? Are all the computers identical?
    If any computer has any updates that are not on all computers, this could cause a problem.
    Also, are there any limitations to the user accounts? If each user does not have access to the files...
    When you use a server, all of the computers have access to the raw files, (if the files are on the server...I've learned not to assume too much...) but when you have individual workstations you have to have all computers not only connected by cables (i.e.firewire) but you have to connect them through network settings, MY Network, and password in. Always connect to HD so you can choose where to get info. Of course all of this relies on the fact that you trust all of the users to not screw up the workstations they are on...
    Basically, each computer has to be a clone of the others, even though they are working independently.
    MacG5 2.7Dual   Mac OS X (10.4.6)   FCP Studio, DVC Pro Deck, AJA

  • Time Machine backup with multiple user accounts

    How do I backup a machine using a Time Capsule/Time Machine that contains multiple user accounts? Ultimately I'd like to flexibility of using the Restore from Time Machine Backup command to port the user data of one account onto a new Mac. Thanks for any insight.

    If Time Machine is enabled in one account, then when that account is active Time Machine (which is set up in that account) will backup the entire drive unless you exclude something. That backup will contain everything on the drive being backed up. You can restore either account separately, but when logged into one account you will not have access to files belonging to the other account. You can restore individual files and folders from either account, however.

  • Mail Multiple Users

    Is there a way in Mail to create multiple users with access control via password? Two of us use the iMac and the only thing we want to secure is the Mail. We want to have full share for files and other functions so I don't really want to create multiple user accounts on the system.
    We are converting from a Windows XP system and use the "Identities" function in Outlook Express for this on the WINXP system.
    iMac 20" Duo / Macbook 13.3" Black   Mac OS X (10.4.7)  

    There was a similiar question just a little while ago about the same thing...http://discussions.apple.com/message.jspa?messageID=2958825#2958825
    Anyway, this would not secure your Mail and would not work to keep your messages separate.
    The way Mail files messages makes having two separate identities in the same account not possible. Also, email messages are stored as plain text in Users/~/Library/Mail. If you allow someone else access to your user account, they could quite easily navigate to the folder and open all the messages there with TextEdit –they don't need to open Mail.
    You really are better off with separate accounts. If you have an external HD, or if you partition your internal, you can turn on the option to 'Ignore Ownership on this Volume" with the Get Info window to allow easier sharing of files while keeping your Home folder (and your Mail) private.

  • Multiple users in household, how do I simply sign out of an account and not delete the account?

    I just got an iPad and am still figuring out its quirks. One thing that is completely frustrating me is that I am being told that I have to delete accounts instead of simply being able to sign out? I don't get it? For instance the Gmail app lets you switch between accounts but both are always signed in. Same with iCloud and Appleid's. I don't get it? I have multiple users at my house that use the same apps but we can't sign in and out as our respective selves? Is this an Apple thing? I haven't used Apple products since the mid 90's so I could just be out of the loop? Not being able to Sign in and out doesn't seem very logical to me so it makes me think that I must be missing a step because why on Earth would you not have that function? Help me understand. Please and thank you.

    You are not going to like the answer, but no you cannot sign out of email accounts on the iPad. The iPad was originally designed to be a single user device that was to be used in conjunction with one's own iTunes library. That was back in 2010 when the first iPad was released. many things about the way you can use an iPad have changed, but it still designed to be a single user device.
    Anybody can check email in a web browser on the iPad, just like one can check ther email on any computer by signing into their account, but the built in Mail app does not have separate user accounts. You can sign into and out of Apple ID's on the iPad but that is where Family Sharing comes into play.
    https://www.apple.com/ios/whats-new/family-sharing/

Maybe you are looking for