jass and ftp
Hi.
I'm using jass-execute secure.driver to harden one of my zones.
Now, I'd like to enable ftp, so I've done:
svcadm enable ftp
If I do netstat -a | grep LISTEN I get:
*.ftp*.*00 491520 LISTEN
*.ftp*.*00
491520 LISTEN
svcs -x gives nothing
bash-3.00# svcs -a | grep ftp
online 15:24:59 svc:/network/ftp:default
If I su - testUser and try ftp localhost I get:
$ ftp localhost
Connected to localhost.
421 Service not available, remote server has closed connection
It looks like ftp is running, but why can't I connet?
Any idas?
# 1
A valid connection that then closes immediately suggests that tcpwrappers are in use and it is closing the connection after checking the IP address.
Do you have a /etc/hosts.allow or /etc/hosts.deny files?
Check the properties in svc:/network/inetd for tcp_wrappers.
--
Darren
# 2
I've added
ftp:ALL
to hosts.allow with no luck.
But when I remowed ALL: ALL from hosts.deny I could create an connection.
There is probably something more than ftp I should add to hosts.allow in stead of remowing ALL from hosts.deny?
It allso looks like I have an configurating problem with my ftp-server. I'd like a setup like this:
No guests.
users is created to ex. /export/home/user1 and can only see this folder
I'd like to do something as:
ftpAdminUser /export/home/ftpAdminUser
ftpUser1 /export/home/ftpAdminUser/ftpUser1
How / where do I configure this things in solaris 10?