Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!in2.uu.net!newsflash.concordia.ca!news.nstn.ca!coranto.ucs.mun.ca!news.unb.ca!agate.nbnet.nb.ca!news From: cavenerl@nbnet.nb.ca (Lance Cavener) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: PPP disconect after a period of time Date: Fri, 07 Jun 1996 00:47:21 GMT Organization: VSi Lines: 14 Message-ID: <4p7u94$6nf@agate.nbnet.nb.ca> References: <4p7jej$701@mikasa.iol.it> Reply-To: cavenerl@nbnet.nb.ca NNTP-Posting-Host: mctnts02c37.nbnet.nb.ca X-Newsreader: Forte Free Agent 1.0.82 luba@tikal.net.gt (Luis F. Barrera) wrote: >Hi everyone, > >i'd like to know , if there is a way to disconnect someone if he/she >has not used the PPP link after, let's say 30 minutes. I got >the message PPP stalled, I guess that means that user did not use the >link for a very long period of time. I think the only way to do this would be to read "w" and see the users total idle time, and if its > than 30mins kill his PPP process. I think the scripting of it would be a bit difficult.. Let me know if there is another way.