Link to home
Start Free TrialLog in
Avatar of DavidBonfoey
DavidBonfoey

asked on

proFTPd having password troubles

I have a simple linux server with apache and proftpd installed to server up a web page.  Everything worked great until the day I forgot my passwords.  Instead of reloading linux I put in the install disk, went to recovery mode, and changed the root password.  I rebooted, logged in, changed the passwords, but now I can't ftp into the machine.  I have tried using passwd to change the password with no luck.

Any suggestions on why proftpd will not take this new password?
ASKER CERTIFIED SOLUTION
Avatar of mrielf
mrielf

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Nemesis-Services
Nemesis-Services

what does your /var/log/secure /var/log/messages /var/log/xferlog have in it, when you try and ftp in.

also is it only the root account that you can't ftp in as, or have you tried creating / used another linux account and see what happens.
Avatar of DavidBonfoey

ASKER

mrielf:
I do not have a ftpasswd utility

Wesly Chen:
I have set "AuthUserFile /etc/passwd" and "AuthGroupFile /etc/group" and still no luck.  AuthPAMAuthoritive was already off.

Nemesis Services:
The secure log is blank.  The xferlog has all the transfers from when I was able to successfully log in.  I have tried creating a new user and still no luck.  I have tried logging in as root (with "RootLogin on") and still no luck.

> I have set "AuthUserFile /etc/passwd" and "AuthGroupFile /etc/group" and still no luck
What's your original/default setting?
can you post your proftpd.conf and also the operating system your using it on, and also the version of proftpd thanks :)
> I have set "AuthUserFile /etc/passwd" and "AuthGroupFile /etc/group" and still no luck

If you using shadow passwords on your sytem, then it won't work...

Simply delete or comment out "AuthUserFile" and "AuthGroupFile" lines...
The OS is Linux Mandrake 9.2, I am not using kde, gnome or x windows, just a terminal.  I tried deleting the authuserfile and authgroupfile (which is the original method) and still no luck.

Here is the proftpd.conf file:

ServerName             "my Server"
ServerType              standalone
DefaultServer           on
AllowStoreRestart     on
Port                         21
Umask                     022
MaxInstances           30
User                        nobody
Group                      nobody
<Directory />
    AllowOverwrite     on
</Directory>
AuthPAMAuthoritative off
UseFtpUsers              off
RootLogin                  on



SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Venabili,

Perhaps the points could be shared between the experts in here ?