LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   proftp login problem (https://www.linuxquestions.org/questions/linux-newbie-8/proftp-login-problem-941411/)

windstory 04-24-2012 01:12 AM

proftp login problem
 
I installed proftpd on scientific linux 6.2 x64, and the pfortpd.conf is this:

Code:

ServerName                        "My FTPD server"
ServerIdent                        on "My FTP Server ready."
ServerAdmin                        root@localhost
DefaultServer                        on

VRootEngine                        on
DefaultRoot                        /var/www/html !adm
VRootAlias                        /etc/security/pam_env.conf etc/security/pam_env.conf

AuthPAMConfig                        proftpd
AuthOrder                        mod_auth_pam.c* mod_auth_unix.c

UseReverseDNS                        off


MaxInstances                        20

UseSendfile                        off

LogFormat                        default        "%h %l %u %t \"%r\" %s %b"
LogFormat                        auth        "%v [%P] %h %t \"%r\" %s"

<IfDefine TLS>
  TLSEngine                        on
  TLSRequired                        on
  TLSRSACertificateFile                /etc/pki/tls/certs/proftpd.pem
  TLSRSACertificateKeyFile        /etc/pki/tls/certs/proftpd.pem
  TLSCipherSuite                ALL:!ADH:!DES
  TLSOptions                        NoCertRequest
  TLSVerifyClient                off
  #TLSRenegotiate                ctrl 3600 data 512000 required off timeout 300
  TLSLog                        /var/log/proftpd/tls.log
  <IfModule mod_tls_shmcache.c>
    TLSSessionCache                shm:/file=/var/run/proftpd/sesscache
  </IfModule>
</IfDefine>

<IfDefine DYNAMIC_BAN_LISTS>
  LoadModule                        mod_ban.c
  BanEngine                        on
  BanLog                        /var/log/proftpd/ban.log
  BanTable                        /var/run/proftpd/ban.tab

  BanOnEvent                        MaxLoginAttempts 2/00:10:00 01:00:00

  BanControlsACLs                all allow user ftpadm
</IfDefine>

<Global>
  Umask                                022
  AllowOverwrite                yes
  <Limit ALL SITE_CHMOD>
    AllowAll
  </Limit>

</Global>

<VirtualHost test.info.gf>
ServerName "test.info.gf"

  <Limit LOGIN>
  AllowAll
  </Limit>
</VirtualHost>

I have my_group and my_group's users for default login their directory, and "VirtualHost test.info.gf"'s user for VirtualHost's directory.

Could this proftpd.conf work for this purpose?

pan64 04-24-2012 01:37 AM

would be better to explain your problem

windstory 04-24-2012 08:44 AM

pan64/ One member of my_group could not log in.

Oh, Proftpd could not start.

Quote:

[root@linux home]# service proftpd start
Starting proftpd: [FAILED]

pan64 04-24-2012 08:47 AM

is there anything related in the logs?

windstory 04-24-2012 09:34 AM

pan64/ There is nothing at "/vat/log/profptd"

pan64 04-25-2012 01:19 AM

there should be a message somewhere. Not only in /var/log/proftpd, but maybe in syslog, or in messages. see here http://www.proftpd.org/docs/howto/Tracing.html maybe you can have better result (try to increase the trace level)


All times are GMT -5. The time now is 12:19 PM.