logging in ppp?

Gert Doering (gert@greenie.muc.de)
Thu, 11 Nov 1999 22:45:05 +0100


Hi,

On Thu, Nov 11, 1999 at 04:49:41PM +0000, A Wingenbach wrote:
> I'm using mgetty and pppd on Red Hat Linux 6.1 to provide a dial-up server
> for remote users through eight modems and a digiboard.  Everything's working
> great, but I can't tell who's logged on to the system at any given time.  Is
> there a way to log the connections and easily parse the log to get ttyD0 -
> User1, ttyD1 - User2, etc?  We're using pap-secrets for authentication.

Make pppd enter the user name into /var/run/utmp, and use "who".

(As for "how to do that" - no idea.  I don't use pppd under Linux)

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de