Scripting Mac OS X
Subject:   loginhook
Date:   2004-03-04 14:26:25
From:   yantheman
Response to: loginhook

This works for me to, but what if users folders aren't always in located in /Users? This is a common with dynamically mounted home folders. The path to the users folder is sometimes /network/volumes.. etc.
Can a solution be found to use relative paths here?

Loginhook script runs as root.. Interestingly this command in the script works. Prefs management in Mac OS X is excellent.

/usr/bin/sudo -u $1 /usr/bin/defaults write DefaultPaperID -string "iso-a4"

1 to 1 of 1
  1. loginhook
    2004-03-04 14:35:07  jamesreynolds [View]

1 to 1 of 1