Web Hosting Talk







View Full Version : FTP Login Issues After Restore


huck
05-14-2002, 10:46 AM
We have just restored a Raq4 using the raqbackup.sh and CMU utilities. Most everthing is back to normal expect the following problem -- which is driving me crazy trying to diagnose.

Problem
When a user is a site admin (as selected in the control panel), the user cannot login from certain locations. Some client locations work fine with no restrictions while others seem to fail. The user can ftp in and then is immediately dis-connected from the server.

FTP Client Problem
I've had the user try both active/passive settings as well as different FTP clients -- this does not resolve the problem.

Local-side Firewall:
My first thought was that this was a local side firewall issue. However, a person who cannot ftp in as a user with site admin privs. can log in as the server admin or an account without site admin privs. Simply by toggling the site admin setting, the same account goes from being inaccessible when site admin to being accessible as a normal user.

Possiblity???
I still think this must be a ftp client or local firewall issue as I cannot reproduce the problem from two different locations. I have also used a variety of ftp clients without a problem.

Does any one know how the site admin toggle would influence the ftp login process. My only guess is that the person gets added to the site-adm group in /etc/group.

Thanks.

eivind
06-07-2002, 08:55 AM
I have the same problem, please let me know if you ever solve this issue.

huck
06-07-2002, 09:25 AM
The problem is with the .ftphelp file -- not sure why this prevents login but it does. And it only happens with certain users.

To resolve this go to the users directory and do a

ls -la

you should see a .ftphelp file
removed this file:

rm .ftphelp

Now, the problem is that new users or if a user changes their password this file gets recreated -- I am checking into modifying the Ftp.pm to prevent the proftpd.conf file from getting over written and will remove the reference in that file for the .ftphelp file.

eivind
06-07-2002, 09:52 AM
Thanks for your quik response, I will try to remove that file next time I experience this problem.