homepage Welcome to WebmasterWorld Guest from 54.237.99.131
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

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

5+ Year Member



 
Msg#: 4474717 posted 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

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



 
Msg#: 4474717 posted 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

5+ Year Member



 
Msg#: 4474717 posted 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

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



 
Msg#: 4474717 posted 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved