Networking

Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.

Applications

Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.

Data

Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.

Monitoring

Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Networking

Enable Basic FTP Server on Solaris 10

Submitted by on August 22, 2013 – 2:22 pm

Here are a few simple steps to enable a basic FTP server on Solaris 10.

Edit /etc/ftpd/ftpusers  and comment out “root”. This should only be done for testing purposes. After FTP is functioning as expected, edit this file and remove the comment. Restart the FTP server.

Check if FTP server is already active:

inetadm |grep -i ftp

Enable FTP server if not already active:
svcadm enable svc:/network/ftp:default ; svcadm enable ftp

Disable TCP wrappers for FTP authentication:
inetadm -m  svc:/network/ftp:default tcp_wrappers=FALSE

Check on the status of FTP server processes and network sockets:
grep -i ftp /etc/services
netstat -an |grep -i *.21

Expected output:
root@nfsmaster# grep -i ftp /etc/services
ftp-data        20/tcp
ftp             21/tcp
tftp            69/udp
root@nfsmaster# netstat -an |grep -i *.21
      *.21                 *.*                0      0 49152      0 LISTEN
      *.21                              *.*                             0      0 49152      0 LISTEN

 

Print Friendly, PDF & Email

Leave a Reply