Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th June 2012, 04:29 PM
rakswebtest Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 1
linuxfirefox
proftpd and vsftpd Authentication Problem

Can't able to get local logins work in both vsftpd and proftpd. Initially I had proftpd, tried everything I could find in the internet, but could'nt succeed. I always get login incorrect even though I am sure that login and passsword exist in /etc/passwd. I also changed AuthOrder to use mod_auth_linux.c.
Anonymous works but local logins as in /etc/passwd does not.

Then I downloaded and installed vsftpd but still the same problem. I did local_enable=YES for local logins

Looks like I am doing something fundamentally wrong. Please help, struggling for 2 days and have searched lot in the internet but coudl not find anything

Do I need to do something with /etc/pam.d/vsftpd or /etc/pam.d/proftpd
They both are same and looks like
#%PAM-1.0
session optional pam_keyinit.so force revoke
auth include password-auth
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required pam_shells.so
account include password-auth
session required pam_loginuid.so
session include password-auth


vsftpd.conf is as follows
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
# When SELinux is enforcing check for SE bool ftp_home_dir
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
# When SELinux is enforcing check for SE bool allow_ftpd_anon_write, allow_ftpd_full_access
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
Reply With Quote
  #2  
Old 28th August 2012, 11:52 AM
fedora123 Offline
Registered User
 
Join Date: Aug 2012
Location: India
Posts: 1
linuxmandrivafirefox
Re: proftpd and vsftpd Authentication Problem

Use the following two commands as root

iptables -F
setenforce 0

These should work.
Reply With Quote
Reply

Tags
authentication, problem, proftpd, vsftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vsftpd & mysql authentication, any success storys? thchase Using Fedora 0 24th October 2007 10:40 AM
enable authentication for vsftpd cuongvt Servers & Networking 21 29th September 2006 09:30 AM
vsftpd and pam authentication whocare Servers & Networking 0 15th August 2006 04:32 PM
Which FTP server to use? vsftpd, proftpd, or pure-ftpd?? Terence Servers & Networking 2 26th December 2005 09:23 AM
ProFTPd Certificate Authentication sc00by Servers & Networking 2 12th August 2005 04:08 PM


Current GMT-time: 13:50 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat