Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!pasteur!agate!brahms.berkeley.edu!cotner
From: cotner@brahms.berkeley.edu (Carl Cotner)
Newsgroups: comp.unix.questions
Subject: Help with patching 'login'
Keywords: login, patch, accounting
Message-ID: <17508@agate.BERKELEY.EDU>
Date: 29 Nov 88 03:28:10 GMT
Sender: usenet@agate.BERKELEY.EDU
Reply-To: cotner@brahms.berkeley.edu (Carl Cotner)
Organization: University of California, Berkeley
Lines: 18

I would like to implement a more detailed accounting system than what
UNIX offers.  Specifically, on the SUNs around here, I'd like a program
which prompts the user for a Job Number when he logs in.  Depending on
what task he'll be performing, he should supply an appropriate Job Number.
This JN is then recorded into a local accounting file for further
record-keeping.

I've seen this implemented before elsewhere; but on that machine, the 
operators bought UNIX source, so they were able to patch 'login' to query
for the JN and record it.  Now I'm dealing with SUNs in which the UNIX
OS came distributed in binary only, no source.  I don't know where to begin
to implement this.  Does anyone done this before?

Carl
cotner@brahms.Berkeley.EDU


ucbvax!brahms!cotner	           Carl Cotner/UCB Math Dept/Berkeley CA 94720