R. Saeks July ’06 - 16 -
The final step of the loginhook, is to copy the user profile that resides in /Library/Management/profiles/studentuser
back into /Users/studentuser, refreshing any changes made. This approach was done since it allowed for a
performance increase over running Network-based accounts and gives the users full control of items pertaining to
their session. The files copied at login are approximately 10MB. MCX settings are employed on the student user
group to mount the volume, which contains the network home folder of the user to the desktop for easy access.
There is an AppleScript application that places icons on the desktop of the student user, including a shortcut to the
network home folder.
The other script that is used is a logout hook. That script is below.
1 echo "===== LOGOUT: `date` =====" >> /var/log/login.log
2 exit 0
This script writes the logout time to the login.log file to keep track of user account activity on the machine. Once
done, it returns the machine back to the login window.
Commentaires sur ces manuels