Solaris Troubleshooting: modify the inactivity timeout setting for FTP
Below are the steps are to be performed on the the FTP server (i.e., the system that is being ftp’d to). By default, the FTP server will timeout an inactive session after 15 minutes.
1. # vi /etc/inetd.conf
Edit the entry for FTP by adding “-t timeout” to the end of the line, where timeout is the inactivity time in seconds.
For example, for a timeout of 30 minutes
ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd -t1800
2. Stop and restart inetd
# kill -HUP
1. vi /etc/ftpd/ftpaccess
2. add the following line
timeout idle (time increment in seconds)
3. stop and restart ftpd:
# svcadm disable ftp
# svcadm enable ftp
ftpaccess contains details on this and other timeout conditions that can be set for ftpd.