LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-02-2003, 08:26 PM   #1
bznutz
Newbie
 
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
</Directory>

# 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 127.0.0.1
Trying localhost:21
Connected to 127.0.0.1:21
220 ProFTPD 1.2.7 Server (ProFTPD Default Installation) [www2.mysite.net]
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:

passwd
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 127.0.0.1
 
Old 08-02-2003, 09:00 PM   #2
antken
Member
 
Registered: Nov 2000
Location: england
Distribution: latest Mandrake
Posts: 368

Rep: Reputation: 30
that sounds suspicious,

try changing you password using the root account

login as root, type:

su

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, 11:19 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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.
http://www.linuxquestions.org/questi...2001/05/4/2813
 
  


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


All times are GMT -5. The time now is 10:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration