> We offer unlimited access. I am looking for a way to account for the =
> time of each call and to detect inactivity and log a user off??? any =
> help would be appreciated.
For the inactivity, just use "set all idletime XX" where XX is the
number of minutes they can stay online.
Obviously, this doesn't always work. :) We've established an
"absolute session time limit" by using pmwho and pmcom (a little "rsh"
type utility I wrote for the portmasters), and a perl script.
pmwho: ftp://ftp.aros.net/pub/util/pm/pmwho.c (This is a GREAT utility..
I based my pmcom code on it and I'm very appreciative of
Johan Persson for writing it)
pmcom: ftp://ftp.aros.net/pub/util/pm/pmcom-1.0.c
Syntax: pmcom <portmaster> "command"
timeout: ftp://ftp.aros.net/pub/util/pm/timeout
A perl script to "flush" users off if they've been online
too long. Needs to be combined with a cron entry to call it.
If you have any questions, feel free to ask.
-Dave Andersen
-- angio@aros.net Complete virtual hosting and business-oriented system administration Internet services. (WWW, FTP, email) http://www.aros.net/ http://www.aros.net/about/virtual/ "She totally confused all the passing piranhas"