I have tried to configure an ftp server on one of my machines, I want to all authenticated users to be able to upload files to the apache web root /var/www/html. This machine is behind a firewall/router and will not be exposed to the outside world. I want to know if someone can point me to a good tutorial on setting up one of these servers, I have read the man pages and googled for possible configurations and I still have not been successfull. I can log in as my normal user and see my home folder, but cannot upload to the web root. John -- Registered Linux User 263680, get counted at http://counter.li.org
John Pierce wrote:> I have tried to configure an ftp server on one of my machines, I want > to all authenticated users to be able to upload files to the apache > web root /var/www/html. This machine is behind a firewall/router and > will not be exposed to the outside world. I want to know if someone > can point me to a good tutorial on setting up one of these servers, I > have read the man pages and googled for possible configurations and I > still have not been successfull. I can log in as my normal user and > see my home folder, but cannot upload to the web root.try vsftp : this page mentions a quick install (on whitebox linux) : http://www.hughesjr.com/content/view/19/2/Site_News (i'm using vsftp on FreeBSD and i like it, it's a matter of getting the config and permissions right) -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
I found the FTP chapter under Redhat Enterprise 4 for Dummies to be very helpful in setting up an FTP server. It uses vsftp in the book. I was able to set it up in no time. And I am the Newb from hell so if I can do it anyone can. ----- Original Message ----- From: "John Pierce" <john.j35 at gmail.com> To: "CentOS mailing list" <centos at centos.org> Sent: Saturday, April 29, 2006 12:57 PM Subject: [CentOS] wu-ftpd, proftpd, or vsftpd! I have tried to configure an ftp server on one of my machines, I want to all authenticated users to be able to upload files to the apache web root /var/www/html. This machine is behind a firewall/router and will not be exposed to the outside world. I want to know if someone can point me to a good tutorial on setting up one of these servers, I have read the man pages and googled for possible configurations and I still have not been successfull. I can log in as my normal user and see my home folder, but cannot upload to the web root. John -- Registered Linux User 263680, get counted at http://counter.li.org _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Apr 29, 2006 at 12:57:10PM -0500, John Pierce wrote:> I have tried to configure an ftp server on one of my machines, I want > to all authenticated users to be able to upload files to the apache > web root /var/www/html. This machine is behind a firewall/router and > will not be exposed to the outside world. I want to know if someone > can point me to a good tutorial on setting up one of these servers, I > have read the man pages and googled for possible configurations and I > still have not been successfull. I can log in as my normal user and > see my home folder, but cannot upload to the web root.If that is all your users will have to do on the server, I recommend using proftpd with virtual users. Each uses will have its own password (and you can get logs for them), but all files will end up with the uid:gid you want. The same for everyone, actually. This is also a good way to make sure the users will not be able to use their passwords to do anything else on the server. - -- Rodrigo Barbosa <rodrigob at suespammers.org> "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEVZ3spdyWzQ5b5ckRAqViAKCFsK5qjF14RC6hLlGexGl1OxSZ6ACbBGrN rVapBBv4hovlciubwWWIycY=wxQ7 -----END PGP SIGNATURE-----