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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-02-2003, 08:26 PM
|
#1
|
Newbie
Registered: May 2003
Location: In front of my monitor
Distribution: Xandros 2.0, FedoraCore1, Redhat 9
Posts: 8
Rep:
|
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
|
|
|
08-02-2003, 09:00 PM
|
#2
|
Member
Registered: Nov 2000
Posts: 368
Rep:
|
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?
|
|
|
08-02-2003, 11:19 PM
|
#3
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 10:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|