The network connection itself seems to work and "moz" (instead of "moza") is, i suppose, a just a typo.
A possible reason is how the system is configured to authorize user accounts: in case you have, say, LDAP users primarily it might well be that the password ftp asks for is for a (hypothetical) LDAP-user "moza" instead of the local user "moza". The same might be the case for NIS (instead of LDAP), a native kerberos-domain, and similar systems.
You need to also check the sense of the file /etc/ftpd/ftpaccess. In the config file for your FTP server, there will be several lines to describe it and it can be either an "only allow in this list" or an "exclude this list" so you will have to read what it says carefully. It can be very confusingly written.
What is the FTP server you are using? I could guess vsftpd for a Linux server, but that is not certain to be on Solaris. There is probably a pkginfo command that will list out all packages. Pipe this through grep for the string ftpd and see what you get.
bash-3.00# pkginfo | grep ftp
system SUNWftpr FTP Server, (Root)
system SUNWftpu FTP Server, (Usr)
system SUNWtftp Trivial File Transfer Server
system SUNWtftpr Trivial File Transfer Server (Root)
bash-3.00#
According to your posted session transscript i think that the ftp server is up ad running and the entry in /etc/ftpd/ftpaccess is OK as well. Otherwise you shouldn't ge as far as you came.
I still think you may have a different authorisation scheme (kerberos, NIS, LDAP, ....) in place and you are not asked for a local users password but a, say, LDAP-users password, which might be quite different from what you gave to the local user.
I am no specialist in Solaris, but with this hint you should be able to investigate if this might be the case or not.
I think I solved the problem:
on /etc/passwd I have changed the shell of the user from bash to /bin/false
them I changed the group of the ftp user, them change the permissions of the landing directory
Perhaps. Why didn't you tell us this little detail when you told us "i created a user like this" in post #1? Obviously you did not "like this" but "like this and then a lot more".
If you want an anonymous yet secure ftp-service (what you did looks like this is what you are after) you might want to set up the ftpd (ftp server daemon) in a "chroot"ed environment. See man chroot for the details on this. This way you don't need a special user at all and you can still isolate the service from the rest of the system.
These are different points: a "local zone" in Solaris is already a (sort-of) chroot -environment and you cannot chrootin a chroot-env. Therefore you need to do this from the global zone (=parent environment) instead.