/etc/gdm/PostLogin

From Earlham CS Department
Jump to navigation Jump to search
  1. !/bin/sh
  2. Note: this is a sample and will not be run as is. Change the name of this
  3. file to <gdmconfdir>/PostLogin/Default for this script to be run. This
  4. script will be run before any setup is run on behalf of the user and is
  5. useful if you for example need to do some setup to create a home directory
  6. for the user or something like that. $HOME, $LOGNAME and such will all be
  7. set appropriately and this script is run as root.