Hi,

From: Egervary Gergely <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to