  | |  | FTP installation | FTP installation 2003-04-13 - By Jon Miller
Back I have a VPN established using CIPE between 3 Linux servers (RHL7.1-srvB; RHL7 .2srvA; RHL7.3-srvC). All services running fine. However, I need to install FTP to run between SrvA to SrvB and SrvC. They only need to be able to upload their updated web pages to the web server. What I would like to do is give the user a certain userid (web & jlmiller) access so when they login using the correct UserID they are automatically placed in the right location (/var/www /html). However, I cannot get FTP to work. I've installed WU-FTP, ANONFTP, modules for ftp (2). I've configured the fpthost as such: /etc/fpthost allow web 192.168.0.1/24 allow jlmiller 192.168.1.0/24 allow jlmiller 192.168.5.0/24
/etc/hosts.allow ALL: 192.168.0.0/24 : ALLOW ftpd: 192.168.0.0/24 : ALLOW ALL: 192.168.1.0/24 : ALLOW ftpd: 192.168.1.0/24 : ALLOW ALL: 192.168.5.0/24 : ALLOW ftpd: 192.168.5.0/24 : ALLOW
Is there something I've missed? and where or which file controls where the user has access to? Hopefully this is enough information. I should mention I only want the access to be strictly internal. I have a firewall on SrvA that accepts ftp packets using iptables and SrvB is using ipchains. If I want to give access to anyone else based on their IP address is the ftphost file the correct file to put their IP address in and should I be more restrictive using an ipaddress vs a subnet. Considering their is only one person on the network that uses ftp?
Thanks
Jon L. Miller, MCNE, CNS Director/Sr Systems Consultant MMT Networks Pty Ltd http://www.mmtnetworks.com.au
"I don't know the key to success, but the key to failure is trying to please everybody." -Bill Cosby
Earn $52 per hosting referral at Lunarpages.
|
|
 |