Tuesday, April 1, 2008

FTP time out setup

HP-UX

vi /etc/inetd.conf
Append -t timeoutinseconds to the ftpd line.
e.g. ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -l -d -t 6000000

restart ftpd
/usr/sbin/inetd -c

Solaris 10
vi /etc/ftpd/ftpaccess
# change the values after
timeout data
timeout idle

# restart ftp
svcadm restart ftp

AIX 5.2
vi /etc/inetd.conf
after ftpd, add -t timeoutInSeconds -T timeoutInSeconds

#restart inetd
refresh -s inetd or kill -1 inetdPID

No comments: