Skip to content
July 14, 2012 / doganay

HOW TO ENABLE/DISABLE FTP ACCESS IN UNIX/LINUX

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

To enable FTP, comment out ftp line in  /etc/inetd.conf  file.  After that:

# solaris 10
svcadm restart inetd

# linux or solaris 9
# If you use inetd:
/etc/init.d/inetd restart
# If you use xinetd:
/etc/init.d/xinetd restart

# If it hangs, use kill:
Restart inet service:
kill -HUP `ps -ef|grep inet|awk '{print $2}'`
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: