LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2004, 04:33 AM   #1
bhwchun
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
pppd server audit trail


I have a RH Linux running pppd as a dialup server. Everything runs fine except that I don't know who are logging in and how to kill those who have been idle for a period of time.

The mgetty log shows only the connection time and the username appears as "user='/AutoPPP/'. The 'users' command shows only a_ppp .

Any hints?

Brian
 
Old 06-21-2004, 05:07 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
If you ps ax you will see bash and pppd listed for each incoming ip number and a pts terminal number

w will show the username and the pts terminal used

from man pppd ...

The debug keyword for pppd will enable extra info in syslog at daemon.debug level, so you can monitor logins and logouts. Add a line to /etc/syslog.conf to pull them into a separate file, eg
daemon.debug /var/log/ppp

The idle keyword for pppd can be used to set a timeout for each connection.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssl and verisign trail certificates helpme0904 Fedora 0 06-09-2005 03:57 PM
My desktop icons leave trail when moving babis Linux - Newbie 3 10-27-2004 11:23 AM
pppd server bentz Linux - Networking 10 02-26-2004 10:33 AM
pppd server doesn't permit login hotrodowner Linux - Networking 10 01-28-2004 10:31 AM
how to keep pppd on during x-server close?? wr3ck3d Linux - Software 2 03-27-2003 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration