Re: who/w/finger/last printing ip address

2015-09-10 Thread Reco
Hi. On Wed, Sep 09, 2015 at 11:44:18PM +0100, Michael Grant wrote: > > $ ls -al /usr/bin/w > lrwxrwxrwx 1 root root 19 Feb 11  2014 /usr/bin/w -> /etc/alternatives/w > $ ls -al /etc/alternatives/w > lrwxrwxrwx 1 root root 17 Feb 11  2014 /etc/alternatives/w -> > /usr/bin/w.procps > $ w -V > w f

Re: who/w/finger/last printing ip address

2015-09-09 Thread Michael Grant
$ ls -al /usr/bin/w lrwxrwxrwx 1 root root 19 Feb 11 2014 /usr/bin/w -> /etc/alternatives/w $ ls -al /etc/alternatives/w lrwxrwxrwx 1 root root 17 Feb 11 2014 /etc/alternatives/w -> /usr/bin/w.procps $ w -V w from procps-ng 3.3.10 $ who --version who (GNU coreutils) 8.23 also "who --lookup" mak

Re: who/w/finger/last printing ip address

2015-09-09 Thread Reco
Hi. On Wed, Sep 09, 2015 at 01:32:16PM -0500, David Wright wrote: > Quoting Reco (recovery...@gmail.com): > > On Wed, Sep 09, 2015 at 11:50:17AM -0500, David Wright wrote: > > > Quoting Reco (recovery...@gmail.com): > > > > > > > So, long story short, last version of 'w' which printed hostnames

Re: who/w/finger/last printing ip address

2015-09-09 Thread David Wright
Quoting Reco (recovery...@gmail.com): > On Wed, Sep 09, 2015 at 11:50:17AM -0500, David Wright wrote: > > Quoting Reco (recovery...@gmail.com): > > > > > So, long story short, last version of 'w' which printed hostnames by > > > default should be squeeze's one, and even then they used compilation

Re: who/w/finger/last printing ip address

2015-09-09 Thread Reco
Hi. On Wed, Sep 09, 2015 at 11:50:17AM -0500, David Wright wrote: > Quoting Reco (recovery...@gmail.com): > > > So, long story short, last version of 'w' which printed hostnames by > > default should be squeeze's one, and even then they used compilation > > flag to make it do so. > > I'm trying

Re: who/w/finger/last printing ip address

2015-09-09 Thread David Wright
Quoting Reco (recovery...@gmail.com): > So, long story short, last version of 'w' which printed hostnames by > default should be squeeze's one, and even then they used compilation > flag to make it do so. I'm trying to follow this, but it doesn't seem to square with my own observations. I've edi

Re: who/w/finger/last printing ip address

2015-09-09 Thread Reco
Hi. On Wed, Sep 09, 2015 at 01:18:34PM +0100, Michael Grant wrote: > > On Wed, Sep 9, 2015 at 12:24 PM, Reco wrote: > >  Hi. > > On Wed, Sep 09, 2015 at 10:46:53AM +0100, Michael Grant wrote: > > (I of course edited my own host's ip address here for 10.20.30.40) > > > >

Re: who/w/finger/last printing ip address

2015-09-09 Thread Reco
Hi. On Wed, Sep 09, 2015 at 10:46:53AM +0100, Michael Grant wrote: > (I of course edited my own host's ip address here for 10.20.30.40) > > But yes, getent resolves my host ip to a name.  who/w/finger/last all still > do not resolve the host. Ok, then we'll have to do it the hard way. Please

Re: who/w/finger/last printing ip address

2015-09-09 Thread Michael Grant
(I of course edited my own host's ip address here for 10.20.30.40) But yes, getent resolves my host ip to a name. who/w/finger/last all still do not resolve the host. On Tue, Sep 8, 2015 at 1:14 PM, Reco wrote: > Hi. > > On Tue, Sep 08, 2015 at 12:39:06PM +0100, Michael Grant wrote: > > Any i

Re: who/w/finger/last printing ip address

2015-09-08 Thread Reco
Hi. On Tue, Sep 08, 2015 at 12:39:06PM +0100, Michael Grant wrote: > Any idea why I'm NOT getting hostnames by default? > > $ who > mgrant   pts/1    2015-09-05 07:30 (10.20.30.40:S.1) > mgrant   pts/2    2015-09-05 07:30 (10.20.30.40:S.2) > mgrant   pts/3    2015-09-05 07:30 (10.20.

Re: who/w/finger/last printing ip address

2015-09-08 Thread Michael Grant
Any idea why I'm NOT getting hostnames by default? $ who mgrant pts/12015-09-05 07:30 (*10.20.30.40*:S.1) mgrant pts/22015-09-05 07:30 (*10.20.30.40*:S.2) mgrant pts/32015-09-05 07:30 (*10.20.30.40*:S.3) mgrant pts/42015-09-05 07:30 (*10.20.30.40*:S.4) $ w

Re: who/w/finger/last printing ip address

2015-09-05 Thread Martin Read
On 05/09/15 23:21, Michael Grant wrote: I have to say in some ways this seems like a feature not a bug! I've long missed the option some other unixes have to inhibit resolving the name. But at the moment the hostname! Frankly, there should be an option to w, who, finger, and last to not resolv

who/w/finger/last printing ip address

2015-09-05 Thread Michael Grant
I'm running debian testing. Just did an apt-get update. who, w, finger, and last are all now printing the ip address instead of the hostname. the wtmp seems to have the ip address now instead of the hostname. Last shows hostnames up to when I did the apt-get update today and then ip addresses.