Welcome to WebmasterWorld Guest from 54.159.214.250

Forum Moderators: bakedjake

Can't login using existing FTP accounts after domain change

   
6:33 pm on Jul 11, 2012 (gmt 0)

5+ Year Member



Greetings,

We recently switched our website domain name, which resulted in a different directory structure for our files to be placed. I have since tried to configure FTP users for the new domain location:

OLD:
/var/www/vhosts/example1.com/httpdocs

NEW:
/var/www/vhosts/example2.com/httpdocs

Now, what I would like to do is create a folder called "support":

/var/www/vhosts/example.com/httpdocs/support

this will be for our support personnel to upload files for customers/employees/etc.. I had this before the change. I originally thought that I could simply change the path for the users inside the passwd file, but for the ones I tried the FTP no longer worked.

So, I deleted the accounts and tried to add them back in:

user: test
group: apache

I set test as the owner of the support folder, ran passwd and gave the user a password. However, when I attempt to connect via filezilla I am given a 530 Login Incorrect error.

Any ideas what could be the problem? I have tried the ftp logs (using ProFTPd) as well as adding Trace in the conf file to see what that might give me but nothing concrete thus far.
6:15 am on Jul 12, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



what do you mean by "the passwd file"?

an ftp account is not the same as the http basic authentication password.
12:17 pm on Jul 12, 2012 (gmt 0)

5+ Year Member



Thanks for the response. I have always had my FTP users as part of /etc/passwd. Is this not correct? I have not seen a way to generate FTP accounts for ProFTPd other than "adduser", which places them in /etc/passwd. I am still somewhat new to linux, but everything I have found points to doing it this way, and it worked previous to our domain switch.
9:48 pm on Jul 12, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



on linux /etc/password should be the correct place to specify accounts for ftp users.
however in some systems the password itself may instead be specified in /etc/shadow in an encrypted form.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month