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.
Solaris 9

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

Solaris 10

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.

Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

1 Response

  1. September 16, 2015

    […] Read – Troubleshooting: modify the inactivity timeout setting for FTP […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us