Problem with FTP

chasebug

Verified User
Joined
Aug 31, 2009
Messages
18
I created account on /home but my files are actually on /home2

I changed the passwd to /home2 for that user but it is still logging into /home when I login by FTP.

How to change that?
 
Are you using the main login for the domain? The one who's listing you changed in /etc/passwd? If so, post for us the line in /etc/passwd which is for the specific user. It shouldn't have a password in it; it should be safe to post.

Also let us know your OS.

Jeff
 
My understanding is that it does for system users.

When I create a new user from the shell with adduser, FTP works.

However it's possible the thread author is asking about a different ftp user.
Jeff
 
Probably you're right. I don't know what config and what auth types you're using (whether you use PAM). So I've been sure till now, that ProFTPd does not use /etc/passwd anymore. In my /etc/proftpd.passwd therea are all system users (owners of directadmin accounts). So it depends on... PAM
 
Back
Top