/etc/gdm/PostLogin

From Earlham CS Department
Revision as of 12:57, 16 April 2010 by Jbkorth07 (talk | contribs) (New page: #!/bin/sh # # Note: this is a sample and will not be run as is. Change the name of this # file to <gdmconfdir>/PostLogin/Default for this script to be run. This # script will be run befo...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.