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 |
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? |
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 05:35 AM. |