06-26-2009
man page for ftpd shows:
-t TimeOut
Logs out inactive sessions after the number of seconds specified by the TimeOut variable. The default limit is 15 minutes (900 seconds). The timeout applies to both the data and the control connections.
ftpd is started in /etc/inetd.conf, so the option could be added there. I'm not sure where else the config should go.
10 More Discussions You Might Find Interesting
1. Programming
I wrote a server which creates a thread for every client connection. I have to include timeout function that will kill the server thread if the client doesn't respond for specific time. That too using signal(SIGALRM). For this i am using alarm() function.
When the server thread detects signal it... (1 Reply)
Discussion started by: Nads
1 Replies
2. UNIX for Dummies Questions & Answers
Experts,
Can someone tell me how to chnage the timeout settings for FTP. I am on HP UX
Thanks in Advance..
:D (6 Replies)
Discussion started by: jyotipg
6 Replies
3. UNIX for Dummies Questions & Answers
if a user login and never shutdown or exit...how do you set an automatic shutdown or timeout if the user leave the session on for 20 minutes?
thanks (3 Replies)
Discussion started by: ichiro
3 Replies
4. AIX
Hi,
How to get the DCE timeout value in aix os?
Thanks..
Prabhu. (0 Replies)
Discussion started by: prabhuv
0 Replies
5. Solaris
Dear Experts
How is it possible to increase the ftp timeout. After 900 seconds my ftp connection from my PC to a Solaris 8 U60 Workstation is lost due to timeout limitation i guess on the workstation side.
Very Best regards
Reza (1 Reply)
Discussion started by: Reza Nazarian
1 Replies
6. UNIX for Dummies Questions & Answers
We are facing difficulties in ftp'ing large files.For large file transfer using FTP, the control session gets timed out where as the the data session is active and transfers the file completely. Is there a way to make the control session active as long as data session?
How to find the control... (1 Reply)
Discussion started by: rocker
1 Replies
7. Solaris
Hi All
I need to set timeout of login session of a user if a user is idle for some time.
I know the TMOUT setting but it work with only BASH & KORN shell only as I need to set for Bourne shell also. I am trying to put "ClientAliveInterval 300" in sshd_config & restart or refreshing the... (1 Reply)
Discussion started by: sb200
1 Replies
8. AIX
HI ,
I'm facing the FTP connection refused from text editor while accessing AIX server .It showing the messege "can't create ftp connection connectin refused".Though it is accessible from putty .
i'm using aix version 6 .
Can any one let me know the seetings needs to be made so that i... (2 Replies)
Discussion started by: rmkganesh
2 Replies
9. AIX
I have to make a command to work when connecting to AIX 7.1 (used by an internal software).
I have a linux server L where the following command is runned ssh -t <aix-server-ip> ls
For a <non-aix-server-ip> the command runs successfully.
For AIX the terminal just gets blocked.
ssh connection... (5 Replies)
Discussion started by: ufo
5 Replies
10. AIX
Been trying to get a directory NFS-mounted with no success. I've tried both NFS v3 and v4, but currently trying v4. I can't figure out what's going on here.
server: sbkovwadmd01
sbkovwadmd01# chnfsdom
Current local domain: edw.dev
sbkovwadmd01# lssrc -a | grep nfs | grep active
nfsd ... (3 Replies)
Discussion started by: eckertd
3 Replies
LEARN ABOUT OPENSOLARIS
ftprestart
ftprestart(1M) System Administration Commands ftprestart(1M)
NAME
ftprestart - restart previously shutdown FTP Servers
SYNOPSIS
ftprestart [-V]
DESCRIPTION
Use the ftprestart command to restart an FTP Server previously shut down by means of ftpshut(1M). The ftprestart command reads the shutdown
capability from the ftpaccess(4) file to determine the path of the shutdown message files. It then reenables the FTP Server by removing any
shutdown message files in the anonymous and virtual FTP Server area, as well as the system wide shutdown message file.
OPTIONS
The ftprestart command supports the following options:
-V Display program copyright and version information, then terminate.
EXAMPLES
Example 1 Sample Output from ftprestart
The following example shows sample output from the ftprestart command:
example% ftprestart
ftprestart: /export/home/ftp/etc/ftpd/shutdown.msg removed.
ftprestart: /export/home/virtual1/etc/ftpd/shutdown.msg removed.
ftprestart: /etc/ftpd/shutdown.msg removed.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/etc/ftpd/ftpaccess
/etc/ftpd/ftpservers
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
ftpshut(1M), in.ftpd(1M), ftpaccess(4), ftpservers(4), attributes(5)
SunOS 5.11 1 May 2003 ftprestart(1M)