login and logout hooks

Started by Lewp1973, May 09, 2012, 06:20:10 pm

Previous topic - Next topic


Hi All,

I'm trying to use the login and logout hooks to run custom scripts on my white system and on a VMWare machine (Nextstep 3.3). I cannot get them to run. I made just a simple test script:

#! /bin/sh
date >> /login.log

I then saved this and set it in the login hook preferences. However it doesn't run when I logout and then log back in. I made the file an executable and tried again but still no luck. If I run the script manually it does log the date to the correct file. Can somebody tell me where I'm going wrong?