Subject: Re: [netatalk-admins] remind me... (wtmp/utmp)
From: Brad G. Parks (bparks@homer.acs.bethel.edu)
Date: Mon Mar 16 1998 - 12:25:38 EST
Well, I have utmp/wtmp kinda working in afpd. (sample below).
I use it a little differently, tho. Users are logged in a
utmp file when they connect, but I don't keep any history of
when they disconnect. I run the afpd on a secure server
(nobody is allowed to telnet or ftp into) so I am able to have
that utmp file world writable.
The problem I have run into is that I don't always know when
a user disconnects. I usually have numerous entries per user.
What good does this do for me? Given an AppleTalk address
(at least one volume must be mounted NON-AppleTalk-over-IP)
I am able to tell which user used that address last or is using
it currently.
68> nejama 4.63 LOGIN_PROCESS Tue Mar 3 09:37
69> saucim 7.225 LOGIN_PROCESS Mon Mar 16 11:01
70> -------- 4.108 DEAD_PROCESS Mon Mar 16 09:28
I am currently working on pulling my changes out so I can re-apply
them to the latest & greatest asun source. (I've fallen behind.)
P.S. the platform I made the changes for is Solaris.
-brad parks
Unix by day, Nintendo by night
Bethel College Acadmic Computing
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:31:40 EST