Score:0

Setup of ProFTP on Solaris 11

ch flag

I have a Solaris 11.3 ldom and I'm trying to setup anonymous ftp user on the server. I followed the Oracle documentation (https://docs.oracle.com/cd/E53394_01/html/E54791/wuftp-193.html) and this other one (https://www.ibiblio.org/pub/packages/solaris/sparc/html/proftpd.1.2.0.p10.html) but the anonymous ftp didnt work. Thought i could connect with other users. Ive removed ftp user from list of denied users on the /etc/ftpd/ftpusers

My configuration is looking like this

ServerIdent                     off
ServerType                      standalone
DefaultServer                   on
Port                            21

Umask                           022
#SystemLog   /var/log/proftpd/proftpd.log
# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                    30

# Set the user and group under which the server will run.
User                            ftp
Group                           ftp

# Normally, we want files to be overwriteable.
AllowOverwrite          on

# Bar use of SITE CHMOD by default.
<Limit SITE_CHMOD>
  DenyAll
</Limit>

# Make PAM the final authority on what gets authenticated.
AuthOrder mod_auth_pam.c* mod_auth_unix.c

# Use system libraries for user lookups.
PersistentPasswd off

# Root login must be enabled explicitly. It is not permitted by default.
# Allow it only if you know what you are doing.
#RootLogin on

DisplayConnect          /etc/issue


<VirtualHost 192.168.100.64>
        ServerName "My virtual FTP server"
# Deny login access
        <Limit LOGIN>
                DenyAll

        </Limit>
  

        <Anonymous ~ftp>
# Allow anonymous logins
         User   ftp
         group  ftp
         UserAlias      anonymous ftp
         MaxClients     10
                <Limit LOGIN>
                        AllowAll
                </Limit>
        </Anonymous>
</VirtualHost>

What have i not done right?

Castaglia avatar
id flag
I would recommend checking the [ProFTPD debug logging](http://www.proftpd.org/docs/howto/Debugging.html) generated on login failure, to see what the issues/causes might be.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.