🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1882

loginwindow hooks- ARGHHHH!!!!

#1882
From: Steven T. Dunbar
Date: Thu, 19 Nov 1992 19:16
34 lines
1415 bytes
I'm trying to do some accounting of my log in time.

I wrote a login script like this:
#!/bin/csh
echo 'Login :' `/bin/date` >> ~/.worklog

and I wrote a logout script like this:
#!/bin/csh
echo 'Logout :' `/bin/date` >> ~/.worklog

I then did (as root):

dwrite loginwindow LoginHook /usr/local/bin/loginscript
dwrite loginwindow LogoutHook /usr/local/bin/logoutscript

I logged out of the console, used 'exit' to reload the 
loginwindow, logged in, and it doesn't work.

the scripts work just fine from the command line.

I rebooted the machine... still didn't work...

Anyone know why this is failing???

Thanks!!!

Steve
---
____________________________________________________________________________
Steven T. Dunbar                          sdunbar@mailbox.fwrdc.rtsg.mot.com
Development Engineer                      (817) 232-6080

Motorola GSS Cellular Infrastructure Group - Ft. Worth Research & Development
____________________________________________________________________________
Technical Details
Message-ID: <1992Nov19.191653.29086@schbbs.mot.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ftpbox!mothost!schbbs!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!ftpbox!mothost!schbbs!news
From: sdunbar@mailbox.fwrdc.rtsg.mot.com  (Steven T. Dunbar)
Subject: loginwindow hooks- ARGHHHH!!!!
Organization: MOTOROLA 
Date: Thu, 19 Nov 1992 19:16:53 GMT
Message-ID: <1992Nov19.191653.29086@schbbs.mot.com>
Sender: news@schbbs.mot.com (Net News)
Nntp-Posting-Host: 160.2.5.78
Lines: 35