Selasa, 04 Juni 2013

Enable FTP service on Solaris 10

Enable ftp service:


Comment required user to connect through ftp...
Eg:
#
#  List of users denied access to the FTP server, see ftpusers(4).
#
#sol
root
daemon
bin
sys
adm
lp
uucp
nuucp
smmsp
#
/etc/ftpd/ftpusers - User ID’s that you are trying to use to login must not be there in this file.
/etc/ftpd/ftphosts - this is used to specifically dis allow ftp access to a login ID from a particular host.
By using following commands verify weather ftp service is running.
# inetadm |grep -i ftp
enabled   online         svc:/network/ftp:default
# svcs |grep -i ftp
online         Feb_08   svc:/network/ftp:default
# cat /etc/services |grep -i ftp
ftp-data        20/tcp
ftp             21/tcp
tftp            69/udp
# netstat -an |grep -i *.21
      *.21       *.*    0      0 49152      0 LISTEN
      *.21       *.*    0      0 49152      0 LISTEN
#

If ftp service is offline use following command to enable ftp server

Tidak ada komentar:

Posting Komentar