468x60 Ads

Monday, July 16, 2012

Pin It

Widgets

Enable FTP service on Solaris 10

Enable ftp service:

bash-3.2# vi /etc/ftpd/ftpusers

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

#svcadm enable ftp

Useful ftp file details:









Reference(man pages section 1M: System Administration CommandsSun Microsystems, Inc.4150 Network Circle Santa Clara, CA 95054 U.S.A.)


1 comments:

Unknown said...

Well appreciated such good job keep updates, see oracle community for management.

Post a Comment