IBM/AIX

FTP설정하기

nickas 2012. 11. 9. 19:06

FTP Enable and Disable in AIX

2/4/2004 by ITtoolbox Popular Q&A Team for ITtoolbox as adapted from IBM-AIX-L discussion group

Summary:
I would like to disable FTP on a server so that none of the other servers can FTP to this server. However, I should be able to enable whenever I need it. How do I do this?

Full Article:
Disclaimer: Contents are not reviewed for correctness and are not endorsed or recommended by ITtoolbox or any vendor. Popular Q&A contents include summarized information from IBM-AIX-L discussion unless otherwise noted.

Adapted from response by zoltan on Monday, February 02, 2004

You can disable any service in /etc/inetd.conf file. For example
modify the 'ftp service ' line from:

ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd

to

#ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd

and don't forget about restart the inetd

refresh -s inetd