LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2012, 02:12 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 489

Rep: Reputation: 36
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?
 
Old 04-24-2012, 02:37 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,218

Rep: Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687
would be better to explain your problem
 
1 members found this post helpful.
Old 04-24-2012, 09:44 AM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
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]

Last edited by windstory; 04-24-2012 at 10:03 AM.
 
Old 04-24-2012, 09:47 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,218

Rep: Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687
is there anything related in the logs?
 
1 members found this post helpful.
Old 04-24-2012, 10:34 AM   #5
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
pan64/ There is nothing at "/vat/log/profptd"
 
Old 04-25-2012, 02:19 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,218

Rep: Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot login to proftp combilli Linux - Software 1 11-07-2006 10:44 PM
ProFTP login paul_mat Slackware 17 05-05-2005 07:57 PM
ProFTP problem: can login but not retrieve directory listing Singing Banzo Linux - Networking 4 03-23-2005 01:11 PM
Allow ProFTP login but prevent local login? sorrodos Linux - Networking 2 06-23-2004 02:56 PM
ProFTP login problems Syncrm Linux - General 1 05-17-2002 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration