FAQ
From radmind
(Difference between revisions)
(Added first FAW) |
m (→Client) |
||
Line 1: | Line 1: | ||
==Client== | ==Client== | ||
+ | Making login hooks work in Leopard (10.5.2) | ||
+ | |||
+ | Here are the steps I took after reading [https://sourceforge.net/mailarchive/message.php?msg_name=7992493A-F391-40FC-8982-C226397040FA%40umich.edu Andrew Mortensen's post] in the radmind project at sourceforge | ||
+ | |||
+ | 1) Downloaded and installed [http://rsug.itd.umich.edu/software/ihook/files/iHook-1.1.1.dmg iHook] v1.1.1 | ||
+ | |||
+ | 2) Double-checked that the path to my hooks are /etc/login.hook and /etc/logout.hook | ||
+ | |||
+ | 3) Issued these commands exactly as written: | ||
+ | |||
+ | sudo defaults write com.apple.loginwindow LoginHook /path/to/login.hook | ||
+ | |||
+ | sudo defaults write com.apple.loginwindow LogoutHook /path/to/logout.hook | ||
+ | |||
+ | That seems to make the hooks work again. | ||
+ | |||
==Server== | ==Server== | ||
===Can I move /var/radmind/postapply and /var/radmind/preapply?=== | ===Can I move /var/radmind/postapply and /var/radmind/preapply?=== | ||
Yes. By default, the radmind server looks for postapply scripts in /var/radmind/postapply and preapply scripts in /var/radmind/preapply. You can store these scripts in a different location by creating symlinks for these directories that points to the desired location. | Yes. By default, the radmind server looks for postapply scripts in /var/radmind/postapply and preapply scripts in /var/radmind/preapply. You can store these scripts in a different location by creating symlinks for these directories that points to the desired location. |
Revision as of 11:32, 1 April 2008
Client
Making login hooks work in Leopard (10.5.2)
Here are the steps I took after reading Andrew Mortensen's post in the radmind project at sourceforge
1) Downloaded and installed iHook v1.1.1
2) Double-checked that the path to my hooks are /etc/login.hook and /etc/logout.hook
3) Issued these commands exactly as written:
sudo defaults write com.apple.loginwindow LoginHook /path/to/login.hook
sudo defaults write com.apple.loginwindow LogoutHook /path/to/logout.hook
That seems to make the hooks work again.
Server
Can I move /var/radmind/postapply and /var/radmind/preapply?
Yes. By default, the radmind server looks for postapply scripts in /var/radmind/postapply and preapply scripts in /var/radmind/preapply. You can store these scripts in a different location by creating symlinks for these directories that points to the desired location.