Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pure-ftpd, auth failed!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tfandango
n00b
n00b


Joined: 08 Nov 2002
Posts: 44

PostPosted: Fri Nov 15, 2002 6:49 pm    Post subject: pure-ftpd, auth failed!!! Reply with quote

Hi-

I just installed pure-ftpd. Whenever I try to log in, I get the following message:

Code:

saopaulo root # ncftp -u media localhost
NcFTP 3.1.4 (Jul 02, 2002) by Mike Gleason (ncftp@ncftp.com).
Connecting to 127.0.0.1...
=(<*>)=-.:. (( Welcome to PureFTPd 1.0.11 )) .:.-=(<*>)=-
You are user number 1 of 5 allowed
Local time is now 06:45 and the load is 0.00. Server port: 21.
You will be disconnected after 15 minutes of inactivity.
Logging in...
Password requested by 127.0.0.1 for user "media".

    User media OK. Password required

Password: ***********
Authentication failed, sorry
Could not open host localhost: username and/or password was not accepted for login.


Here is my /etc/conf.d/pure-ftpd file:

Code:

# Config file for /etc/init.d/pure-ftpd
##Comment variables out to disable its features, or change the values in it... ##

## This variable must be uncommented in order for the server to start ##
IS_CONFIGURED="yes"

## FTP Server,Port (separated by comma) ##
## If you prefer host names over IP addresses, it's your choice :
## SERVER=" S ftp.rtchat.com,21"
## IPv6 addresses are supported.
SERVER="-S 21"

## Number of simultaneous connections in total, and per ip ##
MAX_CONN="-c 5"
MAX_CONN_IP="-C 2"

## Start daemonized in background ##
DAEMON="-B"

## Don't allow uploads if the partition is more full then this var ##
DISK_FULL="-k 90%"

## If your FTP server is behind a NAT box, uncomment this ##
USE_NAT="-N"

## Authentication (others are 'pam', ...)##
## Further infos in the README file.
AUTH="-lunix"

## Change the maximum idle time. (in minutes. default 15)
#TIMEOUT="-I <timeout>'"

## Use that facility for syslog logging. It defaults to 'ftp'
## Logging can be disabled with '-f none' .
#LOG="-f facility"

## Misc. Others ##
MISC_OTHER="-A -x -j -R"

#
# Use these inside $MISC_OTHER
# More can be found on "http://pureftpd.sourceforge.net/README"
#
# -A [ chroot() everyone, but root ]
# -e [ Only allow anonymous users ]
# -E [ Only allow authenticated users. Anonymous logins are prohibited. ]
# -i [ Disallow upload for anonymous users, whatever directory perms are ]
# -j [ If the home directory of a user doesn't exist, auto-create it ]
# -M [ Allow anonymous users to create directories. ]
# -R [ Disallow users (even non-anonymous ones) usage of the CHMOD command ]
# -x [ Authenticated users can read/write files beginning with a dot ('.')
#       Anonymous users can't, for security reasons ]
# -X [ Users can't write/read files and directories starting with a dot ('.') ]
# -D [ List files beginning with a dot ('.') even when the client doesn't
#      append the '-a' option to the list command. A workaround for badly
#      configured FTP clients. ]
# -G [ Disallow renaming. ]
# -d [ Send various debugging messages to the syslog. ONLY for DEBUG ]
# -F <fortune file> [ Display a fortune cookie on login. Check the README file ]
# -H [ By default, fully-qualified host names are logged. The '-H' flag avoids host names resolution. ]


I have verified that my username is in /etc/passwd and that my shell is in /etc/shells.

Any ideas what I'm doing wrong here???

Thanks,
tfandango[/code]
Back to top
View user's profile Send private message
tfandango
n00b
n00b


Joined: 08 Nov 2002
Posts: 44

PostPosted: Fri Nov 15, 2002 7:21 pm    Post subject: um.. nevermind Reply with quote

I have a nasty habit of asking for help and then figuring it out only after I ask...

I end up using the pure-ftpd password database and it works...

tfandango
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum