| Can't login using existing FTP accounts after domain change
|
dpinion

msg:4474719 | 6:33 pm on Jul 11, 2012 (gmt 0) | 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.
|
phranque

msg:4474879 | 6:15 am on Jul 12, 2012 (gmt 0) | what do you mean by "the passwd file"? an ftp account is not the same as the http basic authentication password.
|
dpinion

msg:4474955 | 12:17 pm on Jul 12, 2012 (gmt 0) | 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.
|
phranque

msg:4475150 | 9:48 pm on Jul 12, 2012 (gmt 0) | 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.
|
|
|