[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: List who is logged in where



Am Monday, den  6 August hub RalfGesellensetter folgendes in die Tasten:

> Am Freitag 03 August 2007 11:54 schrieb Trond Mæhlum:
> > rwho returns "who", but not the terminals name.
> 
> Dear Trond,
> 
> as I was the initial reporter of the corresponding bug #865
> http://bugs.skolelinux.no/show_bug.cgi?id=865
> 
> I'd like to widen the task to work in any layout:
> terminal servers and workstations (using different OS) in a mixed 
> environment.
 
> On one of our first tjeners, I set up separate log files for every 
> machine (both for windows and linux clients). These central log files 
> could then be evaluated by a script that was triggered by a "webmin 
> button".

> FAJ's comment to evaluate the auth.log could goes into the right 
> direction. As my first approach to deliver data from clients would be 
> quite inefficient (as you need to get data from any system), it would 
> be better to collect data server based. It shouldn't be to hard to 
> evaluate the log files of the PAM/Auth server. 

What about a central wtmp file/database?
It should be easy to collect all connects from samba clients to wtmp
(IIRC about samba features)

It should also not be that hard to store wtmp information from linux
machine in a central manner. (as you only have to collect the per
TS and WS).

Just now I have now pratical idea how to implement it, but maybe
others jump on this track.

Ciao
Max
-- 
	Follow the white penguin.



Reply to: