login and logout hooks

NeXT Computer, Inc. -> NEXTSTEP / OPENSTEP Software

Title: login and logout hooks
Post by: Lewp1973 on May 09, 2012, 01:20:10 PM
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?

Cheers,

Lewp

Go to top  Forum index