Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2001 16:10:42 -0400
From:      "alexus" <ml@db.nexgen.com>
To:        "Philip Paeps" <philip@paeps.cx>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: full hostname/ip of users who loged in
Message-ID:  <001b01c13710$01b86270$0d00a8c0@alexus>
References:  <LMEGLKDAPHNJLEAFMCFHOENECJAA.philip@paeps.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
i just tryed w -n

-n only works for local ..

ie.

whatever in /etc/hosts

people who's not in there it keep showing me their hostname

----- Original Message -----
From: "Philip Paeps" <philip@paeps.cx>
To: "alexus" <ml@db.nexgen.com>; <freebsd-questions@FreeBSD.ORG>
Sent: Thursday, September 06, 2001 4:06 PM
Subject: RE: full hostname/ip of users who loged in


> > using which command i can see user's full hostname and/or ip
>
> w -n will show you the IP the user is using (see w(1)).
>
> > when i do "w" or "who" i only see part of their long hostname.. how can
i
> > see the rest? (full)?
> > thank you
>
> I believe that if the user is in a different domain than the machine, it
will
> show the FQDN, not quite sure though...
>
>  - Philip
>
> --
> Philip Paeps
> philip@paeps.cx
> http://www.vitaya.tv
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01c13710$01b86270$0d00a8c0>