Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 00:40:54 +0900
From:      Tetsuro Teddy FURUYA (=?iso-2022-jp?B?GyRCOEVDKxsoQiAbJEJFL086GyhC?=) <ht5t-fry@asahi-net.or.jp>
To:        mauzi@faber.poli.hu
Cc:        kris@freebsd.org, hackers@freebsd.org
Subject:   Re: accounting, ppp
Message-ID:  <20000215004054I.tfuruya@galois.tf.or.jp>
In-Reply-To: Your message of "Mon, 14 Feb 2000 10:37:31 %2B0100 (CET)" <Pine.LNX.4.21.0002141027350.28618-100000@faber.poli.hu>
References:  <Pine.LNX.4.21.0002141027350.28618-100000@faber.poli.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

From: Egervary Gergely <mauzi@faber.poli.hu>
Subject: Re: accounting, ppp
Date: Mon, 14 Feb 2000 10:37:31 +0100 (CET)

mauzi> > > I'm running a PPP dialup server. (mgetty-autoppp) Is there any way to do
mauzi> > > login accounting (like solaris' PAM modules, or linux pam_limits.so)
mauzi> > 
mauzi> > A FreeBSD PAM module? ;)

Did you see, `man 1 last` ?
Here is a sample output list of last.
tf051005.tf.or.jp is my ppp dial-up client.
dhcp100.tf.or.jp is my dhcp client.

tfuruya  ttyp1    chba1132.ppp.inf Fri Dec 31 23:50 - 00:27  (00:36)
dialout  cuaa0                     Fri Dec 31 23:45 - 00:18  (00:33)
dialout  cuaa0                     Fri Dec 31 22:50 - 22:55  (00:05)
tfuruya  ftp      tf051005.tf.or.j Fri Dec 31 21:07 - 21:22  (00:15)
tfuruya  ttyp1    tf051005.tf.or.j Fri Dec 31 21:05 - 21:12  (00:07)
tfuruya  cuaa0                     Fri Dec 31 21:02 - 21:13  (00:10)

dialout  cuaa0                     Fri Feb 11 16:20 - 16:24  (00:04)
tfuruya  ttyp1    dhcp100.tf.or.jp Fri Feb 11 13:02 - 15:19  (02:17)
tfuruya  ttyp2    localhost.tf.or. Fri Feb 11 12:55 - 12:55  (00:00)

last uses /var/log/wtmp.

Or, you cat get ppp information from /var/log/ppp.log directly.
And from /var/db/dhcpd.leases for dhcp.

------------------------------------------------
Tetsuro Teddy Furuya <ht5t-fry@asahi-net.or.jp>


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000215004054I.tfuruya>