Logout event to a local log and, optionally, to a database. Login event to a local log and, optionally, to a database. This script collects information about the user and posts a This script starts Key Access in the name of the logging in user. This script binds to AD and configures advanced options of the AD plugin. Scripts without combining their contents. You can use this script to combine the functionality of multiple This script launches other scripts, passing the appropriate parameters. Shadow file is destroyed and the template home directory is createdīy mounting the disk image whose mountpoint is the location of This script mounts a read-only disk image with a shadow file to be usedĪs the user's home directory. Than what the default user template was created on. This solves issues suchĪs screensaver settings not "sticking" when logging in on a different computer This script renames items in the ~/Library/Preferences/ByHost folder with Upon restart and at timed-intervals so the saved directories will Then find that user's time-stamped user directory. To folder" in the Finder's "Go" menu, type "/tmp", To recover the work of someone that accidentally logged out, simply chooose "Go Was just logged in, it saves that work to /tmp. Script, but instead of simply deleting the work of the user that This login script performs the same function as the refresh-default-homedir.sh Instructions for its use and installation are included as comments This script requires very little customization,
Mac os x shell script extension mac os#
Of Mac OS X, this is one of the easiest ways to manage a multi-user To the same state it was in when you deployed it. The resulting effect is thatĪny changes the user makes to the home directory - downloadingĭock, for example - will be reversed and the system will return This is a very basic login script that replaces a default user's home directory The template will insure thatĪll scripts posted have adequate descriptions and instructions This login script is a template provided for people to follow if they would The script in a plain text editor (such as TextEdit or BBEdit)Īnd read the comments for usage tips and to make any required edits.
Before implementing one of these scripts, open Learn more about login and logout scripts in " Running
you can do tasks as simple as cleaning up a home directory to somethingĪs complex as reimaging the system or maintaining its software. Login and logout scripts, which are run as the root user, can be very powerful