GNU bug report logs - #8643
'who' command bug

Previous Next

Package: coreutils;

Reported by: ding bat <dingbat.trash <at> gmail.com>

Date: Tue, 10 May 2011 19:33:01 UTC

Severity: normal

Tags: notabug

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 8643 <at> debbugs.gnu.org (full text, mbox):

From: "Alan Curry" <pacman-cu <at> kosh.dhis.org>
To: dingbat.trash <at> gmail.com (ding bat)
Cc: 8643 <at> debbugs.gnu.org
Subject: Re: bug#8643: 'who' command bug
Date: Tue, 10 May 2011 18:15:01 -0500 (GMT+5)
Bob Proulx writes:
> 
> ding bat wrote:
> > I was using Who to list all users connected to pptpd vpn server with
> > maverick 10.10.
> > I put natty on the computer and now the who command does not list out the
> > vpn users. It only seems to list out local logged in user.
> > any thoughts,.... this issue is killing me.....
> > I can still do 'last |grep ppp' and get joy, but 'w' and 'who' were very
> > nice.
[...]
> I am not an Ubuntu user and do not have a system to test with and so I
> do not know what programs you would be running when you log in with
> Ubuntu's Natty.  You will need to look at your system and determine
> what login manager you are using.  This is probably gdm but might be
> gdm3 but possibly one of several others.  You will need to determine
> what terminal program you are using.  This is probably gnome-terminal
> but possibly one of several others.  Both of those programs either
> should (or should not) be logging user login information to utmp.

Bob apparently doesn't know what pptpd is. Or what "VPN" means. Or what PPP
is. Or didn't read very carefully.

But he's probably right anyway. The bug is more likely to be in pppd than
anywhere else. It's weird that it would write to wtmp (for last) but not utmp
(for who). Check the config files for recent changes, and if you can't find
the cause, find someplace that gives help with pppd.

An strace of the pppd process during connection setup could be enlightening.

-- 
Alan Curry




This bug report was last modified 14 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.