1. Enable FTP
In this article i am going to explain the simple steps required to enable (start) the FTP Server in Solaris 10 and also securing the service.
First look if the service is enabled:
svcs -a | grep ftp
If the service is disabled, start it (As root):
svcadm enable svc:/network/ftp:default
2. Securing FTP
To secure ftp you are going to work with 3 files:
/etc/ftpd/ftpusers
/etc/ftpd/ftphosts
/etc/shells
The file /etc/ftpd/ftpusers:
This file lists the users that DO NOT have access, use it to deny access to certain users.
The file /etc/ftpd/ftphosts:
Here is listed the user and the rule (deny or allow) with a hostname or ip address.
For example:
And if i try to login with the correct username and password:
The file /etc/shells:
This file lists the shells that can be used in a remote session to this host, if the users shell (that appears in /etc/passwd) is not listed here, the user is not going to be able to login. This is another way of disabling the access to a user of group of users.

















2 users commented in " Enable and Secure FTP Server in the Solaris Box "
Follow-up comment rss or Leave a Trackback[...] New Home>> saved by gabato 10 days ago2 votesHey there!>> saved by ozpiratequeen 17 days ago5 votesEnable and Secure FTP Server in the Solaris Box>> saved by 30plus 40 days ago2 votesNT <NikonF3>>> saved by Koldark 84 days ago3 votesSun [...]
secure web server…
I never thought I will agree with this opinion, but you know… I agree partially now…
Leave A Reply