Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-02-2003, 07:26 PM   #1
Registered: May 2003
Location: In front of my monitor
Distribution: Xandros 2.0, FedoraCore1, Redhat 9
Posts: 8

Rep: Reputation: 0
Can't log in to proftp on my Mandrake 9.1 box

So I have proftp running with this config file:

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart on

# Port 21 is the standard FTP port.
Port 21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# 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 nobody
Group nogroup

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on

# Needed for NIS.
PersistentPasswd on
AuthPAMAuthoritative off

# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
# DefaultRoot /home/foo foo

Now, I've changed PersistentPasswd to on and off to no avail. I've also changed AuthPAMAuthoritative to on/off to no avail.

Basically, I can't log into the damn ftp server with any account.
I use my username with any ftp application under passive mode AND non passive and the damn thing always rejects the login.

Here's the output of every attempt to log in:

Looking up
Trying localhost:21
Connected to
220 ProFTPD 1.2.7 Server (ProFTPD Default Installation) []
USER bznutz

331 Password required for bznutz.
PASS xxxx
530 Login incorrect.

What gives? I've checked the /etc/pam.d/ftp file and it seems kosher. I've checked the /etc/passwd file and it seems kosher.
I've checked everything that the documentation has directed me too and I can't make it work.

The only fishy thing I can think of is that when trying to change my account password via the passwd command, I get this output:

Changing password for user bznutz.
Changing password for bznutz
(current) UNIX password:
passwd: Authentication token manipulation error

What in the Hell is going on?

Please help, I really need this ftp to be up so I can update my website while I'm out of town.
Disconnecting from site
Old 08-02-2003, 08:00 PM   #2
Registered: Nov 2000
Posts: 368

Rep: Reputation: Disabled
that sounds suspicious,

try changing you password using the root account

login as root, type:


at the command prompt, and enter the password when requested, once logged in as root, type:

passwd <user>

where <user> is your username

or you could try adding a different user

also check your /var/log/messages file ( you need to be root to read it ) what are the last few lines after an unsuccessful login?
Old 08-02-2003, 10:19 PM   #3
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
i know when i make a new user account on my server (also proftpd) when i try to log in it fails, but when i change the password, and then try again it works, and also i have to make use the ftpclient is not using passive mode...did you try both these options?
as of your error read this post.


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
scripting - proftp log & iptables epoo Programming 1 04-28-2005 04:59 PM
Mandrake/Proftp Access Rights Pedderz Linux - Networking 1 08-02-2004 11:14 AM
Transfairing files from windows xp box to mandrake linux 10.0 box. tyledogg Linux - Newbie 4 07-25-2004 11:24 PM
Access Mandrake box from Fedora Core 1 box btexpress Linux - Networking 0 05-30-2004 07:50 PM
getting proftp to log kudos Linux - Software 1 10-25-2003 04:53 PM > Forums > Linux Forums > Linux - Software

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

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