From: David Minor <dminor () salud ! unm ! edu>
To: tru64-unix-managers
Subject: SUMMARY: displaying last
Date: Fri, 14 Jan 2000 20:53:20 +0000 [thread overview]
Message-ID: <96079271218592.tru64-unix-managers.marc@archive.invalid> (raw)
OK. Well, I don't feel too dumb now. Turns out there=20
is no way to get last to display the entire hostname if it's
too long.
Several people responded that they had written their
own scripts or apps to handle this. Several others
mentioned different ways of using the /var/adm/wtmp
file, which contains the relevant info that last is using.
There are several ways to do this, depending on what
you are looking for. For instance, Phil Shirts recommended
the following commands which basically do what the last
command does:
who -M /var/adm/wtmp=20
or, more specifically,
who -M /var/adm/wtmp | grep <hostname fragment from 'last'>
A number of other people talked about implementing
TCP Wrappers as a better way in general to be aware of=20
and control who is accessing the system.
Because I have a few targeted people I'm trying to=20
track, Mr. Shirts' recommendation was
enough for my needs at the moment. But I think that=20
I will explore TCP Wrappers for future implentation.
THANKS again to everyone for responding....
david minor
health sciences center library
university of new mexico
reply other threads:[~2000-01-14 20:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox