PDA

View Full Version : FTP Server access for clients (Linux)


Teej
10-30-2006, 05:49 AM
As part of a client's domain setup Plesk requires an FTP username and password. The implication is that the client can connect to their home directory using an FTP client to manage files.

Despite that I can't find any mention of an FTP server in Virtuozzo or Plesk-Server, and no FTP daemon is running.

There's an FTP server answering on the 1st IP (ProFTP) but it doesn't accept any of the client accounts or my accounts. That first IP (.160) is the one I mentioned in a previous article as apparently not being configured as expected.

I don't see any FTP daemon in the xinetd service list in Virtuozzo. However it does have the config file /etc/xinet.d/ftp_psa.

Because xinetd will start services when required I tried connecting to the second IP but got no response. Later I realised that I didn't recall seeing any firewall rules for FTP in the Virtuozzo firewall tables.

After adding 2 input and 2 output rules to the chains, I can now FTP to the 2nd IP (.168) and log-in using my accounts.

I hope this helps other VPS users. This weekend has been a steep learning-curve for me.

There should be some comprehensive documentation available to customers describing the Virtuozzo/Plesk configuration especially as regards to IP addresses, core services, and 'hidden' services such as this.

It would save a lot of frustration and wasted time, and probably reduce the demands on support too.

albforumi
11-06-2006, 05:29 PM
i got this issue as well im trying and trying to resolve it but aint got a clue how to do that...

Anyone can please explain step bu step on what do i have to do to make my ftp work?

Many thanks in advance

bzcat
11-14-2006, 07:24 PM
Open an ssh connection. Use a text editor on /etc/proftpd.conf. I know vi is installed, but good old pico isn't by default for text editing.

I think you need to remark the line that says 'UseFtpUsers on' or change it to off so that all your users can ftp in. OR you can add all your users to the ftp group.

One of those should work but I don't have time to test it ATM.

JCR
12-01-2006, 10:25 PM
Hello,
How do you have proftpd restart work to apply changes in proftpd.conf?
I have tried in every possible location given by locate proftpd.
For instance, /usr/sbin/proftpd does not recognize restart
/etc/pam.d/proftpd restart return 'permission denied'

Thanks in advance