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?
Any suggestions on why proftpd will not take this new password?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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 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?
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...
If you using shadow passwords on your sytem, then it won't work...
Simply delete or comment out "AuthUserFile" and "AuthGroupFile" lines...
ASKER
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Venabili,
Perhaps the points could be shared between the experts in here ?
Perhaps the points could be shared between the experts in here ?
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.