Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: steve288 on April 03, 2008, 06:37:00 PM

Title: How to find out who logged in using VPN?
Post by: steve288 on April 03, 2008, 06:37:00 PM
To find out who is logged on using VPN On SME 6.1 I used to use

grep "CHAP" /var/log/messages
grep "CHAP" /var/log/messages*
grep "pptpd" /var/log/messages

This would give nice little messages like ...
Apr  3 10:29:43 mail pppd[30404]: CHAP peer authentication succeeded for steve

On SME 7.3 this does not seem to work? At least now when I log in using VPN and run these command it does not provide me with the same information.
Can anyone confirm that this does not work anymore, if there is a different way that works or if I'm missing something.

Thank you.

Title: Re: How to find out who logged in using VPN?
Post by: byte on April 03, 2008, 07:43:25 PM
if there is a different way that works or if I'm missing something.

Have a look in:

/var/log/radius


;)
Title: Re: How to find out who logged in using VPN?
Post by: steve288 on April 03, 2008, 09:12:48 PM
Thank you
Yes I see it there in the accounting.log

thanks.