Hello all,
thanks for all the responses.... from:
David Foster
Erin Jones
Paul Kowalenko
Sam Mabjish
Riccardo Veraldi
jab
V Thiyagarajan
Original Question:
> hello everyone,
>
> where can i set the TIMEOUT value for telnet and ftp sessions such that
say,
> after 1 min. of inactivity, it will automatically disconnect the user? and
> also something like never disconnect a user on telnet session eventhough
that
> session is inactive for quite a long time.
>
> i have tried to do some man on these but seems not to find the answer.. a
> friend have suggested to add '-n' option to in.telnetd but the definition
of
> it in the man page seems different..
>
> -Ana
Answer:
So far, no one have given me a very PERFECT answer.. i guess, there should
have been a variable to be set in /etc/default/login... but seems, there is
none..
(1)Jab said, set the "TMOUT" variable in "ksh" shell <-- this worked fine
(2)David Foster said, <-- tho i have not yet tried this one,
For users using tcsh you can set 'autologout' environment variable for
telnet sessions; don't think it would effect ftp sessions.
To have this much control over ftp sessions you might need to go to
WU-FTP (more secure anyhow):
WU-FTP : Setup secure anonymous ftp, more control over user-ftp
Main Site:
ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
ftp://ftp.vr.net/pub/wu-ftpd/ (mirror)
Patches:
ftp://ftp.wu-ftpd.org/pub/wu-ftpd/quickfixes/apply_to_2.5.0/
FAQ: http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
Tutorial: http://www.wildheart.org/wu-ftpd/
Resource Site: http://www.landfield.com/wu-ftpd/ (anon ftp scripts)
Dave Foster
(3) Erin Jones and Paul Kowalenko said
for ftp, add a flag like -t259200 to the end of the ftp line in
inetd.conf.
(4) Thiyagu suggested:
There is utility called Ideld, this will run in backround mode as daemon
and it has configuration file. It can be download from net.
that's all,
-Ana: )
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:05 CDT